Share this Page URL

Chapter 9. Formatting with Styles > Styles Versus Macros Versus QuickWords - Pg. 243

Formatting with Styles 243 Styles Versus Macros Versus QuickWords Just what is the difference between styles and macros? Couldn't you just create a macro to ac- complish the formatting you want? Indeed, macros are powerful and can perform many formatting tasks. However, after you run a macro, you end up with formatting codes in your document as if you had placed them there yourself. Macros automate the process of inserting format codes, but otherwise there is nothing in the docu- ment to distinguish the fact that you used a macro instead of formatting the text one step at a time. Styles, on the other hand, remain in the document and format the text they are applied to. If you remove the style, you remove all the formatting it provides, not only in one location, but everywhere it appears in the document. If you change a style, the change takes place automatically throughout the document. Thus, styles offer much more flexibility and control for formatting than do macros. QuickWords, words that expand when you type them and which can include formatting, is another powerful formatting tool. But like macros, the end result is simply text and format codes as if you had created each code yourself. Note For information on using QuickWords, see "Setting Up QuickWords," p. 160. Note For more information on macros, see "Using Macros to Automate Repetitive Tasks," p. 816. Using QuickFormat to Create Styles On-the-Fly