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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

yes/no box???

Status
Not open for further replies.

scrappe7

Technical User
Jul 30, 2001
82
0
0
US
i am running a db that works off a switchboard. one of the buttons allows for the importation of a file. however, this file needs to be formatted first. I would like a msgbox to appear that would ask the use rif they have formatted the file already. if not they could stop the macro form continuing. if they have they would select the other button and continue. thanks.
 
Open the message box and ask the question. If the answer is no, the VBA command would be "End". Code would stop running right there. I don't know the equivalent command in a macro. Perhaps RunCommand "End"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top