Share via


Quitting VBScript Macros

Home Page (Macros)OverviewHow Do I TopicsFAQReference

While a VBScript macro runs, an icon representing the macro appears in the taskbar. If the macro runs quickly, the icon appears only briefly. If the macro runs for a while, the icon remains until the macro quits.

You can force a running macro to quit before it normally does.

To quit a VBScript macro

  • Double-click the macro's icon in the taskbar.

When you double-click the icon, Visual C++ displays a dialog box telling you that the macro will be terminated and then displays a red circle with a slash on top of  the icon. Typically this circle appears for only a fraction of a second and disappears as soon as the macro quits. However, if the circle remains, it indicates that the macro is executing an instruction. As soon as the macro completes the instruction, the circle will disappear and the macro will quit. Note that you cannot interrupt or speed up execution of this instruction.

Caution   If the macro does not quit, it might cause Visual C++ to stop responding. If this happens, press CTRL+ALT+DEL, and then end the Visual C++ task.