I have the following code:
strReturn = InputBox(“please enter something”)
if strreturn = vbcancel
‘User pressed cancel
else if IsEmpty(strreturn)
‘User pressed okay without entering anything
else
“user entered something go on validating.
endif
This code errors as the strrturn is of different type to vbcancel.
How do you capture a vbcancel of an input box?
Thank you in advance
Cindy