I'm sure this is really easy but I can't think of how to do it.
I've created a basic bit of code that will go at the start of a macro. It's just to remind the user of the database that they have to do something before they continue.
The code makes a vbYesNo message box appear. What I want it to do is stop the macro if they press No, and continue if they press Yes. The Yes bit is ok but I can't stop the macro.
Please can someone advise?
Thanks.
I've created a basic bit of code that will go at the start of a macro. It's just to remind the user of the database that they have to do something before they continue.
The code makes a vbYesNo message box appear. What I want it to do is stop the macro if they press No, and continue if they press Yes. The Yes bit is ok but I can't stop the macro.
Please can someone advise?
Thanks.