Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Specifying Index Section Dividers.
by Allen Wyatt
(last updated March 15, 2018)
As you learn in other WordTips, you create an index by placing the special index field in your document. When you insert the field you can indicate how you want Word to separate the alphabetic sections of your index. There are several choices you can use, but you may need to experiment to find the dividers that are right for you. You specify these dividers by adding the \h switch to your index field. The following table shows some possible settings for this switch.
|\h " "||Sections are divided by a blank line.|
|\h "A"||Sections are divided by a single letter.|
|\h "----"||Sections are divided by four dashes (you can use more, if desired).|
|\h "text"||Sections are divided by whichever text you specify.|
|\h||Sections will have no divider; they will run together.|
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (793) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Specifying Index Section Dividers.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Adding an index to a document is an easy task. There are a couple of ways you can do it, as described in this tip.Discover More
One of the switches you can use with the index field allows you to specify how index entries should be separated from the ...Discover More
When you use Word to create your index, you'll normally only include a page number in the index. If you want to create an ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.