Question: QUESTION 5 Insert a button type object in your excel sheet and using the VBA editor to program the following code. Run the code and

QUESTION 5
Insert a button type object in your excel sheet and using the VBA editor to program the following code. Run the code and say what is the result obtained if guess age is 52.
Sub matry ()
Dim myAge As Long
Dim guess As Long
mye =24
guess = InputBox ("Please guess my age")
If mye > guess then
MsgBox "Sorrry you got it wrong"
Else
MsgBox "Congrats! you guessed it!"
End If
End Sub
"Congrats! You guessed it "
"Sorry you got if wrong"'
A and B both are correct
None Above
 QUESTION 5 Insert a button type object in your excel sheet

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 Databases Questions!