How can I see the name of a bookmark that I have selected?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I have a lot of bookmarks in a document and I want to be able to select one
somehow and see what the name is. Is there some way to do that? Thanks.
 
If you use Insert>Bookmark the bookmark at the current cursor location
is highlighted.

or you could assign a macro something like:

Sub Test()
MsgBox Selection.Bookmarks(1).Name
End Sub

to a keyboard shortcut.
 
With your cursor in the bookmark - Insert Bookmark (the name will be the one
selected).

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
You can use the Insert | Bookmark dialog box to see the name of the
bookmark at the insertion point. The current bookmark name is
highlighted.

Note, however, that some name will be highlighted even if there is no
bookmark at the insertion point (could be the most recently inserted
bookmark), and this isn't so useful, obviously.

Therefore, you may want to start with displaying bookmarks: On the
Tools menu, click Options. Click the View tab. Check the "Bookmarks"
option and click OK. Now you'll see brackets around bookmarked text:
[This text is bookmarked.] (For bookmarks that doesn't enclose any
text, you'll just see I.)

Alternatively, use a macro such as the following:

If Selection.Bookmarks.Count > 0 Then
MsgBox "Bookmark name: " & Selection.Bookmarks(1).Name
End If

The macro should work with Word's hidden bookmarks, if you add the
following line before the If statement:

ActiveDocument.Bookmarks.ShowHidden = True

For assistance with the macro, see
http://gmayor.com/installing_macro.htm.
--
Stefan Blom
Microsoft Word MVP


in message
news:[email protected]...
 
Note, however, that the grey brackets or I-beam are displayed only for
user-inserted bookmarks. There is no visual indication at all of the
"hidden" bookmarks that Word inserts when you create a TOC, index, or
cross-reference.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Stefan Blom said:
You can use the Insert | Bookmark dialog box to see the name of the
bookmark at the insertion point. The current bookmark name is
highlighted.

Note, however, that some name will be highlighted even if there is no
bookmark at the insertion point (could be the most recently inserted
bookmark), and this isn't so useful, obviously.

Therefore, you may want to start with displaying bookmarks: On the
Tools menu, click Options. Click the View tab. Check the "Bookmarks"
option and click OK. Now you'll see brackets around bookmarked text:
[This text is bookmarked.] (For bookmarks that doesn't enclose any
text, you'll just see I.)

Alternatively, use a macro such as the following:

If Selection.Bookmarks.Count > 0 Then
MsgBox "Bookmark name: " & Selection.Bookmarks(1).Name
End If

The macro should work with Word's hidden bookmarks, if you add the
following line before the If statement:

ActiveDocument.Bookmarks.ShowHidden = True

For assistance with the macro, see
http://gmayor.com/installing_macro.htm.
--
Stefan Blom
Microsoft Word MVP


in message
Hello,

I have a lot of bookmarks in a document and I want to be able to select one
somehow and see what the name is. Is there some way to do that? Thanks.
 
But it is possible to use the Bookmark dialog box to go to (that is,
select) hidden bookmarks.

--
Stefan Blom
Microsoft Word MVP


in message
Note, however, that the grey brackets or I-beam are displayed only for
user-inserted bookmarks. There is no visual indication at all of the
"hidden" bookmarks that Word inserts when you create a TOC, index, or
cross-reference.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Stefan Blom said:
You can use the Insert | Bookmark dialog box to see the name of the
bookmark at the insertion point. The current bookmark name is
highlighted.

Note, however, that some name will be highlighted even if there is no
bookmark at the insertion point (could be the most recently inserted
bookmark), and this isn't so useful, obviously.

Therefore, you may want to start with displaying bookmarks: On the
Tools menu, click Options. Click the View tab. Check the "Bookmarks"
option and click OK. Now you'll see brackets around bookmarked text:
[This text is bookmarked.] (For bookmarks that doesn't enclose any
text, you'll just see I.)

Alternatively, use a macro such as the following:

If Selection.Bookmarks.Count > 0 Then
MsgBox "Bookmark name: " & Selection.Bookmarks(1).Name
End If

The macro should work with Word's hidden bookmarks, if you add the
following line before the If statement:

ActiveDocument.Bookmarks.ShowHidden = True

For assistance with the macro, see
http://gmayor.com/installing_macro.htm.
--
Stefan Blom
Microsoft Word MVP


in message
Hello,

I have a lot of bookmarks in a document and I want to be able to select one
somehow and see what the name is. Is there some way to do that? Thanks.
 
"Therefore, you may want to start with displaying bookmarks: On the
Tools menu, click Options. Click the View tab. Check the "Bookmarks"
option and click OK. Now you'll see brackets around bookmarked text:
[This text is bookmarked.] (For bookmarks that doesn't enclose any
text, you'll just see I.)" How do I find this in Word 2007? I need to
check if I missed inserting any bookmarks into my documents. thanks

Stefan Blom said:
You can use the Insert | Bookmark dialog box to see the name of the
bookmark at the insertion point. The current bookmark name is
highlighted.

Note, however, that some name will be highlighted even if there is no
bookmark at the insertion point (could be the most recently inserted
bookmark), and this isn't so useful, obviously.

Therefore, you may want to start with displaying bookmarks: On the
Tools menu, click Options. Click the View tab. Check the "Bookmarks"
option and click OK. Now you'll see brackets around bookmarked text:
[This text is bookmarked.] (For bookmarks that doesn't enclose any
text, you'll just see I.)

Alternatively, use a macro such as the following:

If Selection.Bookmarks.Count > 0 Then
MsgBox "Bookmark name: " & Selection.Bookmarks(1).Name
End If

The macro should work with Word's hidden bookmarks, if you add the
following line before the If statement:

ActiveDocument.Bookmarks.ShowHidden = True

For assistance with the macro, see
http://gmayor.com/installing_macro.htm.
--
Stefan Blom
Microsoft Word MVP


in message
Hello,

I have a lot of bookmarks in a document and I want to be able to select one
somehow and see what the name is. Is there some way to do that? Thanks.
 
Click the Office button (on the top left of the Word window), and then click
Word Options. You'll find the "Bookmarks" option in the Advanced category
(under the "Show document content" heading).

--
Stefan Blom
Microsoft Word MVP



terryc said:
"Therefore, you may want to start with displaying bookmarks: On the
Tools menu, click Options. Click the View tab. Check the "Bookmarks"
option and click OK. Now you'll see brackets around bookmarked text:
[This text is bookmarked.] (For bookmarks that doesn't enclose any
text, you'll just see I.)" How do I find this in Word 2007? I need to
check if I missed inserting any bookmarks into my documents. thanks

Stefan Blom said:
You can use the Insert | Bookmark dialog box to see the name of the
bookmark at the insertion point. The current bookmark name is
highlighted.

Note, however, that some name will be highlighted even if there is no
bookmark at the insertion point (could be the most recently inserted
bookmark), and this isn't so useful, obviously.

Therefore, you may want to start with displaying bookmarks: On the
Tools menu, click Options. Click the View tab. Check the "Bookmarks"
option and click OK. Now you'll see brackets around bookmarked text:
[This text is bookmarked.] (For bookmarks that doesn't enclose any
text, you'll just see I.)

Alternatively, use a macro such as the following:

If Selection.Bookmarks.Count > 0 Then
MsgBox "Bookmark name: " & Selection.Bookmarks(1).Name
End If

The macro should work with Word's hidden bookmarks, if you add the
following line before the If statement:

ActiveDocument.Bookmarks.ShowHidden = True

For assistance with the macro, see
http://gmayor.com/installing_macro.htm.
--
Stefan Blom
Microsoft Word MVP


in message
Hello,

I have a lot of bookmarks in a document and I want to be able to select one
somehow and see what the name is. Is there some way to do that? Thanks.
 
Back
Top