Question: Create a VBA subroutine [call it Exercise3( ) ] which generates five random digits of either 1 or 0 and prints them out on the

Create a VBA subroutine [call it Exercise3( ) ] which generates five random digits of either 1 or 0 and prints them out on the screen in a message box like the following:

Microsoft Excel The random numbers are 1, 1, 0, 1, 1 OK

Microsoft Excel The random numbers are 1, 1, 0, 1, 1 OK

Step by Step Solution

3.38 Rating (167 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Sub Exercise3 Dim i As Integer Dim result As String For i 1 To 5 Gene... View full answer

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!