Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
Old 03-16-2015, 11:08 PM
gmayor's Avatar
gmayor gmayor is offline Bookmark Not Showing Bookmark Windows 7 64bit Bookmark Not Showing Bookmark Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,142
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

Quote:
Originally Posted by Guessed View Post
I would add the bookmark name by using the commenting function. IMO, that is much more user friendly.
I am inclined to agree
__________________
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
Reply



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 05:00 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