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
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 first number is 23 and second number is 4. Sub inputuser () Dim num1 As Double Dim num2 As Double Dim num3 As Double num1 = InputBox("Please input your first number") num2= InputBox ("Please input your Second number") num3 = num1 num2 MsgBox (num3) End Sub
Step by Step Solution
There are 3 Steps involved in it
In excel button type object needs to be created and using VBA editorthe code provided needs to be ex... View full answer
Get step-by-step solutions from verified subject matter experts
