Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started