Written by Allen Wyatt (last updated June 11, 2022)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and 2021
Susan does quite a bit of work with bookmarks in her documents. To help her do her work more efficiently, she would like to turn on/off the display of bookmarks without having to go to the Word Options dialog box every time.
This is rather easy to do using what is effectively a single-line macro:
Sub ToggleBookmarks() ActiveWindow.View.ShowBookmarks = _ Not ActiveWindow.View.ShowBookmarks End Sub
This macro can easily be assigned to a shortcut key or to a button on the Quick Access Toolbar. Either way, it toggles the setting of the bookmarks in the current window. (It affects only the current window.)
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 (9135) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and 2021.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Bookmarks are commonly used in Word documents as a way to cross-reference information. If the bookmark referenced by the ...
Discover MoreDo you want an easy way to see all the bookmarks in your document? Word provides a way to make them visible, or you can ...
Discover MoreBookmarks are a handy way to "mark" locations within a document. If you are creating a macro that processes the document ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu 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