
Tips.Net > WordTips Home > Editing > Bookmarks > Making Bookmarks Bold
Summary: Do you want an easy way to see all the bookmarks in your document? Word provides a way to make them visible, or you can use the macro in this tip to make them all bold. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)
If you have quite a few bookmarks in your documents, you may want to highlight them, perhaps by making them bold, so that you can see them better. Word provides a direct way to highlight bookmarks, all you need to do is choose Tools | Options | View tab, and then make sure the Bookmarks check box is selected. If you are using Word 2007, then you click the Office button | Word Options | Advanced and make sure the Show Bookmarks check box is selected (it is in the Show Document Content section of the dialog box). The result is that any bookmarks in the document are surrounded by [brackets]. These don't print, but only appear on-screen and are very helpful in visually locating the bookmarks.
If you actually want to make the bookmarks bold, one approach is to create a special character style to be used for bookmarks. You could set the style to be bold, and then apply it to all your bookmarked text.
You can also use a macro to make your bookmarks bold. The following macro will step through each bookmark in a document, and make its text bold:
Sub BookMarks2Bold()
Dim bm As Bookmark
Dim tx As Range
Set tx = ActiveDocument.StoryRanges(wdMainTextStory)
For Each bm In tx.Bookmarks
bm.Range.Bold = True
Next
End Sub
If you later want to turn off the bold attribute for bookmarks, you can do so by changing True to False in the line that actually does the property assignment.
Tip #1355 applies to Microsoft Word versions: 97 2000 2002 2003 2007
More Power! Expand your skills and make Word really sing! It's all possible with macros. The best resource anywhere for macros is WordTips: The Macros. Check it out today!
Do you want a decade of WordTips information at your fingertips? You can find what you need with the WordTips Ten-Year Library. (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips