Share via


Installing VBScript Macros

Home Page (Macros)OverviewHow Do I TopicsFAQReference

A macro file contains one or more macros. To make these macros available in Visual C++, you must install the macro file.

To install a macro file

  1. On the Tools menu, click Customize.

  2. Click the Add-ins and Macro Files tab.

    The name of the macro file should appear in the window

  3. If the name of the macro file does not appear, click the Browse button to locate the file.

    ****Tip   ****To avoid browsing, store macro files in the Macros subdirectory of the Visual Studio directory (Visual Studio\Common\MSDEV98\Macros). Visual C++ always searches the Macros directory first.

  4. Load the appropriate macro file by selecting the check box next to its name.

    Visual C++ adds a check mark, indicating that the file is loaded. This check mark also directs Visual C++ to automatically load the file when you start Visual C++ again.

Warning   If you remove the check mark from a macro file, you unload it. When you unload it, all of the macros in the file lose their toolbar and keystroke assignments. Additionally, if you remove the check mark, Visual C++ will not automatically load the macro file when you start Visual C++ again.