use StopAllMacros action in VB code

  • Thread starter Thread starter thread
  • Start date Start date
T

thread

Hi all,
does anyone know how can i use this function as part of a code?
 
thread said:
Hi all,
does anyone know how can i use this function as part of a code?

Wow, that's descriptive. Why? What are you trying to accomplish?
What kinds of macro actions are you trying to stop? Never use macros.
Might be under DoCmd...
 
i'm running vb code inside of macros and i want to stop macro process
if he found some kind of an issue else he suppose to continue to next
macro in the process for ex.:
macro1(vb code)->if here there is an issue the macro will stop after
finishing running a code
macro2(vb code)
macro3(query)
stopmacro
 
Why not just convert your macro to VB?

Right click the macro, select Save As and choose module. that should
take the guesswork out of it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top