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:Microsoft Excel The random numbers are 0.750449 0.9234977 0.2099568 0.8712703 0.5127571

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Financial Modeling Questions!