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
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
Sub matry
Dim myAge As Long
Dim guess As Long
mye
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 both are correct
None Above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
