View Single Post
 
Old 03-16-2015, 05:40 AM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The short answer is no, but you could use a macro to add hidden text at the bookmarked location. How useful that wopuld be in practice, I can't say but

Code:
Sub LabelBookmarks()
Dim oBM As Bookmark
Dim oRng As Range
    For Each oBM In ActiveDocument.Bookmarks
        Set oRng = oBM.Range
        oRng.Collapse 1
        oRng.Text = oBM.Name
        oRng.Font.Hidden = True
        oRng.End = oBM.End + 1
        oRng.Collapse 0
    Next oBM
    ActiveDocument.ActiveWindow.View.ShowHiddenText = True
lbl_Exit:
Set oBM = Nothing
Set oRng = Nothing
    Exit Sub
End Sub
will do that.

Rather more useful would be http://www.gmayor.com/BookmarkandVariableEditor.htm which will list the bookmarks and their contents and provide easy access to them.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote