Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office Visio
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
About macros
 

If you want to become more familiar with Microsoft Visual Basic for Applications (VBA) code associated with the Microsoft Office Visio object model, or need to perform a repetitive development task in Microsoft Office Visio, you can record a macro to quickly create code that you can then view or modify. A macro consists of VBA code that is stored in a Visual Basic module.

For example, to learn the Visio object model, you might record various actions in Visio such as selecting a shape and setting its size and position on the page to get a sense of what code is involved. Or, you might want to set the page size and background for a document with many pages. Rather than going through the same, multiple steps for each page, you could record a macro for the modifications you make to one page, and then modify that macro to run and perform the same set of steps on each page in the document.

ShowRecording macros

ShowMaking macros easy to run

ShowManaging macros

ShowMacro security

advertisement