View Full Version : Stop Macro


accessman2
02-07-2006, 01:18 PM
Hi,

In VBA,

How can I stop the specific Macro from VBA directly?

docmd.runmacro

it only run.

I know that I can create a Macro to stop another Macro, and then use VBA to run the Macro to stop specific Macro.

But, Can I write VBA to stop the specific Macro directly?

Thanks.

KenHigg
02-07-2006, 02:26 PM
So can you use docmd.runmacro to run a macro that ends the original macro from running?

ghudson
02-07-2006, 04:30 PM
Hi,

In VBA,

How can I stop the specific Macro from VBA directly?

docmd.runmacro

it only run.

I know that I can create a Macro to stop another Macro, and then use VBA to run the Macro to stop specific Macro.

But, Can I write VBA to stop the specific Macro directly?

Thanks.Another intelligent posting from AccessBoy. :p

He is building up quite a collection...AccessBoy's Profile (http://www.access-programmers.co.uk/forums/member.php?u=28530)