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 / November 2006

Tip: Looking for answers? Try searching our database.

Creating and Inserting Bookmarks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lynda Kinley - 16 Nov 2006 03:05 GMT
How can I create several bookmarks in one document and then used them in the
main document?   I am having trouble getting the bookmark defined in my main
document.  Also is it possble to have logic around a bookmark--For example:

If bookmark (Name1) = XXX and Bookmark (Name2) = YYY, then includetext
MyLetter.doc.
Graham Mayor - 16 Nov 2006 04:22 GMT
If it is a mail merge document then you probably cannot use bookmarks in
this way. Bookmark names have to be unique.You cannot duplicate them for
each record. However if that is not what you are doing, the syntax which
should work every time is:

{ INCLUDETEXT "{ IF{ REF Name1 } = "XXX" "{ IF{ REF Name2 } = "YYY" "D:\\My
Documents\\Test\\Mydocument.doc" "D:\\My Documents\\Test\\Blank.doc" }"
"D:\\My Documents\\Test\\Blank.doc" }" }

Where blank.doc is an empty document.

The simpler
{ IF{ REF Name1 } = "XXX" "{ IF{ REF Name2 } = "YYY" "{ INCLUDETEXT "D:\\My
Documents\\Test\\Mydocument.doc" }" "" }" "" }
should also work in most circumstances.

Substitute your own docname and path
Signature

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

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> How can I create several bookmarks in one document and then used them
> in the main document?   I am having trouble getting the bookmark
> defined in my main document.  Also is it possble to have logic around
> a bookmark--For example:
> If bookmark (Name1) = XXX and Bookmark (Name2) = YYY, then includetext
> MyLetter.doc.
 
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.