Recording a Macro

Each macro is contained within a macro project. You can have one macro or multiple macros in a macro project. When you record a macro, you must set Recording Project in the Macro Explorer. This is done by right-clicking on a macro project name in the Macro Explorer and selecting Set As Recording Project from the contextual menu. The project name in bold in the Macro Explorer is always the current recording project.

After you record a macro, it's saved as TemporaryMacro in the Macro Explorer. At this point, you must rename the macro to something other then TemporaryMacro or it will be recorded over the next time a macro is recorded.

To record your first macro, double-click on the default form1 in the Windows Forms Designer to ...

Get Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.