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

Tip: Looking for answers? Try searching our database.

Cross Referencing Mailmerge Bookmarks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian - 11 May 2006 20:09 GMT
Hello,

I posted this in another forum before I saw this one, so please excuse
the re-post.

I have an application using OLE built in PowerBuilder that does a mail
merge
using Word 2003.  I am using bookmarks to insert things like first
name, last name, address, etc.  This works fine if I only want to merge

each bookmark once.  After reading many of these posts I discovered
that what I want to do is then cross reference that bookmark any number

of times.

However, I am unable to get the bookmarks to print anytime other than
the first.  I have a bookmark named fname.  My original bookmark prints

fine as "Charlie".  However, when I cross reference to fname and run
the merge, my second instance displays "fname".  I have tried the ctrl
+ A and F9 trick and right clicked on the new reference and clicked
update, and still no luck.

Is the problem that Word cannot cross reference to a value that is
programmatically set?  I have clicked tools | options | print | update
fields, but no luck.

Any ideas?

Thanks,
Brian
Doug Robbins - Word MVP - 11 May 2006 21:25 GMT
Bookmarks will not survive the execution of a mailmerge.  Instead of using
them, just insert the mergefields in the other locations at which you want
the data to appear.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hello,
>
[quoted text clipped - 27 lines]
> Thanks,
> Brian
Brian - 11 May 2006 21:42 GMT
Hi Doug,

Thanks for you reply.  I guess I used the word mailmerge a bit
casually.  I have an app that uses an oleobject that opens a word doc
behind the scenes and looks for specific bookmarks.  It works fine for
each bookmark, but I am unable to cross reference to that bookmark in
the event I want to have the firstname to appear twice in the document.
So it appears that the bookmarks are surviving the execution step, but
I can only use those values once.

Thanks,
Brian
Doug Robbins - Word MVP - 12 May 2006 05:09 GMT
Instead of using bookmarks, I would use DOCVARIABLE fields and have your
code assign values to the variables and then update the fields in the
document.  That way, you can have as many of each DOCVARIABLE field as you
want.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hi Doug,
>
[quoted text clipped - 8 lines]
> Thanks,
> Brian
 
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.