M
Mike
I want to program an InputBox for numbers. A valid entry is 0. I also want to
exit the routine in case the user pushes CANCEL.
Is there a way to differentiate the CANCEL and 0? My current code is as
follows. However, if the user pushes 0, it exits even though I do not want it
to.
myMinScale = Application.InputBox(prompt:="Enter MINIMUM Value for the
Y-axis", Type:=1)
' Check if user pushed "Cancel"
If myMinScale = False Then
GoTo End_AxisMinMax_SetManually
End If
Thanks!
exit the routine in case the user pushes CANCEL.
Is there a way to differentiate the CANCEL and 0? My current code is as
follows. However, if the user pushes 0, it exits even though I do not want it
to.
myMinScale = Application.InputBox(prompt:="Enter MINIMUM Value for the
Y-axis", Type:=1)
' Check if user pushed "Cancel"
If myMinScale = False Then
GoTo End_AxisMinMax_SetManually
End If
Thanks!