A macro is a series of commands and instructions that you group together as a single command to accomplish a task automatically. Macros allow you to automate repetitive actions. Visual Studio includes the Macros integrated development environment (IDE), which is used solely for creating, manipulating, editing, and running macros. The Macros IDE is separate from the Visual Studio IDE.
In This Section
- How to: Record Macros
-
Describes how to create and record macros.
- How to: Run Macros
-
Discusses various ways to run macros and pass parameters.
- Macro Recording and Running Issues
-
Offers solutions to problems commonly encountered in recording and running macros.
- How to: Manage Macros
-
Describes how to edit an existing macro or manually create a new one.
- Debugging Macros
-
Discusses what to do when errors occur in your macros.
- How to: Manage Macros
-
Describes the Macros Explorer and its context menus.
- Saving and Exporting Macros Files
-
Describes how to save and export macro files in the Macros IDE.
- Functionality Differences Between Visual Studio Macros and Visual Studio
-
Describes differences in the Extensibility Model, Document object, properties, item operation, the Find method, projects, and tools options between Visual Studio macros and Visual Studio.
- How to: Reference COM and .NET Framework Components in Macros
-
Describes how to enable Visual Studio macros to reference COM components by using the Tlbimp utility.
- How to: Handle Environment Events in Macros
-
Discusses the EnvironmentEvents template, the OnMacrosRuntimeReset event and the OnStartupComplete event.
- Macros Security and Sharing Issues
-
Discusses the primary security issues concerning macros: intellectual property protection, and virus avoidance and protection.
- Macros Samples
-
Lists and describes the macros samples included in Visual Studio.