Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Canceling an inputbox

Status
Not open for further replies.
Sep 22, 1999
76
US
What is the easiest way to code an input box so that when you hit cancel you don't receive an error message<br>

 
Use it with a vbYesNoCancel parameter, if case = Cancel, exit the sub.
 
I'm not sure if elizabeth is referring to the msgbox() function? I think with the input box you have to check for the zero length string as a return.<br>
--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top