Unanswered: vbYesNo to resume or restart an onclick event
Good morning to every one
I have a form that inserts la large amount of data in a table at one go. I wish to alert the user to confirm this action before. I made a massage box with vbYesNo, if vbYes is true then it resumes the rest of the button onclick event (far now it works) but if vbNo is chosen I need to stop the procedure and restarts/return to the from without inserting any data. Can you please guide me with the last part of the code?
thanks for the help and it did work, actually I was complicating my life since i wrote a public function, then I called it when ever i needed it. I did so because the form I am using has several buttons to handle different types of data entries so I would just call the function. but your advice works just fine thanks once more.