Question: Create a VBA subroutine (call it Exercise2()) that generates five random numbers and prints them out on the screen in a message box like the
Create a VBA subroutine (call it Exercise2()) that generates five random numbers and prints them out on the screen in a message box like the following:
Note: Use FormatNumber(Expression,NumDigitsAfterDecimal) to print out only four digits.
Microsoft Excel The random numbers are 0.750449 0.9234977 0.2099568 0.8712703 0.5127571
Step by Step Solution
3.40 Rating (156 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
