Macro Operation

After installing a macro file, you can run the macros that it contains. The easiest way to run a macro file is to use the toolbar buttons or key sequences that you assigned to the macros.

While a VBScript macro is running, the IDE does not respond to mouse clicks or keystrokes. This prevents other applications from interfering with the macro; however, the UI may appear frozen while a lengthy macro processes. To verify that a macro is running, look for the macro's icon on the taskbar. The icon remains on that taskbar until the macro quits. If the macro runs quickly, the icon appears only briefly on the taskbar. You can force a running macro to quit.

After the macro quits, the IDE continues running. For the IDE to quit when the macro quits, the IDE must call the Quit method for the Application object.

See Also

Macro Implementation | Running a Macro from the Macro Dialog Box | Forcing a VBScript Macro to Quit Running | Running a Macro from the Command Line

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.