Remove All BookMarks

Sometimes MS Word documents can get loaded with useless bookmarks. Here is a macro to remove them:
Sub RemoveAllBookmarks()
    Dim objBookmark As Bookmark

    For Each objBookmark In ActiveDocument.Bookmarks
        objBookmark.Delete
    Next
End Sub

Leave a comment