Written by Allen Wyatt (last updated January 14, 2020)
This tip applies to Word 97, 2000, 2002, and 2003
You probably already know that you can print a list of the styles defined in a document by using the controls in the Print dialog box. What if you want to do the same task from within a macro, however? In that case you would use the PrintOut method as follows:
ActiveDocument.PrintOut Item:=wdPrintStyles
When you run the line, Word prints the exact same thing that would appear if you choose to print Styles in the Print What drop-down list of the Print dialog box.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1417) applies to Microsoft Word 97, 2000, 2002, and 2003.
The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!
When creating macros, you often need to offer a series of choices to a user. This tip demonstrates how easy it is to ...
Discover MoreWhen using a macro to format text, you can set all sorts of attributes for paragraphs or individual characters. On ...
Discover MoreNeed to remove extraneous characters from a text string? VBA makes it easy through the CleanString method, described in ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2017-01-09 14:10:22
Paul Hanson
Instead of sending this list to a printer, is there a way to send it to a Word document?
Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments