O'Reilly logo

Special Edition Using® Microsoft® Office Word 2003 by Bill Camarda

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

Macros: The Basics

A macro is a sequence of operations that Word can execute whenever you tell it to, with a keyboard shortcut, toolbar button, or menu command, or by executing the macro from the Tools, Macro, Macros dialog box. Word's powerful macro facilities enable you to automate just about anything you would do manually in Word. 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. 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 language. Word comes with a complete programming environment, the Visual Basic Editor, ...

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