
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
Find and Replace Almost Anything! An invaluable resource for learning how to harness the full power of Word's search and replace capabilities. You'll discover everything you need in order to master all the intricacies of finding and replacing elements of your document, including the super-powerful ?wildcard searches? available in Word.
Check out WordTips: Find and Replace today!
Have thousands of WordTips at your fingertips, on your own system. Answer your own questions or help support others. (more information...)
Ask a Word Question
Make a Comment
Bugs and Pests Tips
ExcelTips
Family Tips
Health Tips
Home Tips
Organizing Tips
WordTips