Create a VBA subroutine [call it Exercise2( ) ] which generates five random numbers and prints them

Question:

Create a VBA subroutine [call it Exercise2( ) ] which generates five random numbers and prints them out on the screen in a message box like the following:

image

Use FormatNumber (Expression, NumDigitsAfterDecimal) to print out only four digits.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Financial Modeling

ISBN: 9780262027281

4th Edition

Authors: Simon Benninga

Question Posted: