Chapter 19. Macros

Macros

Microsoft Word’s macro feature enables you to automate repetitive tasks within Word. For example, suppose you often insert a table, with specific size and formatting settings, in your Word documents. You can turn on Word’s macro recorder and perform the steps to insert the table. Word records each step as you work. You then save the resulting macro so you can run it at any time. This can be a real timesaver because not only will Word faithfully repeat all the steps you included in the macro, but it will do it much quicker than you could do it manually.

Word’s macro feature uses Microsoft Visual Basic for Applications (VBA), a programming language that makes it possible to create complex macro routines for Word. Wizards, ...

Get Microsoft Word 2004 for Mac OS X: Visual QuickStart Guide 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.