Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / February 2005

Tip: Looking for answers? Try searching our database.

Printing bookmarks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JohnW - 04 Feb 2005 12:04 GMT
We've developed a template that may need to be redone due to corruption, and
it's littered with docvariables and bookmarks.  I've been able to print the
template out and display the hidden docvariable fields, but the bookmarks,
while onscreen in gray, don't appear on the printout (nor are they labled).
Any ideas?

John
Doug Robbins - 04 Feb 2005 23:29 GMT
The following macro will add a [ before the bookmark and " - bookmark name"
and a ] after it.

Dim abm As Bookmark
For Each abm In ActiveDocument.Bookmarks
   abm.Range.InsertBefore "["
   abm.Range.InsertAfter " - " & abm.Name & "]"
Next abm

Signature

Please respond to the Newsgroup for the benefit of others who may be
interested.   Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP

> We've developed a template that may need to be redone due to corruption,
> and
[quoted text clipped - 6 lines]
>
> John
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.