Programming with Reflection
StopMacro method
Syntax object.StopMacro
Stops a currently running macro.
This method is not useful within a macro. Stop or End Sub is recommended for terminating a macro. StopMacro is provided primarily for mapping to Reflection features, such as keys and toolbar buttons, and for use in external applications (like stand-alone Visual Basic).