Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 03-16-2015, 08:40 PM
Guessed's Avatar
Guessed Guessed is offline Bookmark Not Showing Bookmark Windows 7 32bit Bookmark Not Showing Bookmark Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I would add the bookmark name by using the commenting function. IMO, that is much more user friendly. The code to do that is as follows.
Code:
Sub LabelBookmarks()
  Dim oBM As Bookmark
  For Each oBM In ActiveDocument.Bookmarks
    ActiveDocument.Comments.Add oBM.Range, "Bookmark: " & oBM.Name
  Next oBM

lbl_Exit:
  Set oBM = Nothing
  Exit Sub
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
vba to go to next bookmark megatronixs Word VBA 2 06-08-2014 09:53 PM
Bookmark Not Showing Bookmark VBA to insert Bookmark rockwellsba Word VBA 2 05-31-2011 01:07 AM
Bookmark Classification DrDoom Word 0 06-29-2010 07:08 AM
Bookmark to another document spqr Word 3 06-26-2009 04:51 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft