O'Reilly logo

Microsoft by Faithe Wempen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

23. Macros and Add-Ins

Understanding Macros

A macro is a sequence of operations that Word can execute whenever you tell it to. Word’s powerful macro facilities enable you to automate just about anything you would do manually in Word. You can assign a macro to a keyboard shortcut, run it from the Macros dialog box, or place a button for it on the Quick Access toolbar (or anywhere else on the Ribbon).

There are two general approaches to creating Word macros:

• Use Word’s macro recorder to capture the steps in your macro as you perform them in Word. After you save the macro, you can play it back at any time using one of the options listed previously.

• Write the code of the macro yourself in the Visual Basic for Applications (VBA) programming ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required