doctortt
03-27-2011, 11:36 PM
Hi,
I'm new to VBA programming.
How do you write the codes for showing an inputbox asking the user to enter a number, but if the user leaves the box blank, Excel will default it to 35? Can someone help?
I only have these so far:
Dim Age as Double
Age = InputBox("Please Enter Your Age" & vbCrLf & "Default: 35")
I'm new to VBA programming.
How do you write the codes for showing an inputbox asking the user to enter a number, but if the user leaves the box blank, Excel will default it to 35? Can someone help?
I only have these so far:
Dim Age as Double
Age = InputBox("Please Enter Your Age" & vbCrLf & "Default: 35")