Question: Create a VBA subroutine (call it Exercise1()) that generates a random number and prints it on the screen in a message box, which looks like

Create a VBA subroutine (call it Exercise1()) that generates a random number and prints it on the screen in a message box, which looks like this:Microsoft Excel You have generated random number 0.7055475 N

Note: Use the VBA keyword Rnd.

Microsoft Excel You have generated random number 0.7055475 N

Step by Step Solution

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!