Some people absolutely love bookmarks. They do come in handy, but if someone else set bookmarks in a document, you may not need them once you get the document from them. If there are many, many bookmarks set (remember, we are talking about people who really love bookmarks), removing them all one at a time can be rather tedious.
If you find yourself in this situation, you will want to keep the following macro handy. It examines the active document (the one you are looking at) and removes all the bookmarks within it.
Sub RemoveAllBookmarks() Dim objBookmark As Bookmark For Each objBookmark In ActiveDocument.Bookmarks objBookmark.Delete Next End Sub
You should note that this simply deletes the bookmark, not any text referenced by the bookmark.
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 (1630) 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: Removing All Bookmarks.
Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!
Bookmarks can be a great tool in Word, allowing you to easily remember the location of desired blocks of text. If you ...
Discover MoreCreate a bookmark and you may, at some future point, need to delete that bookmark. It's easy to do, as described in this tip.
Discover MoreBookmarks are a great boon in developing and working with documents—until someone deletes them. When it comes to ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2020-07-23 00:33:01
Thank you, Allen for this macro.
2019-03-05 16:38:52
Camila
Thank you so much!
2018-01-31 15:07:35
Charles Robinson
How do i remove all bookmarks from only part of a 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 © 2022 Sharon Parq Associates, Inc.
Comments