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 2004

Tip: Looking for answers? Try searching our database.

DOCPROPERTY after Merge

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
1960JCAP - 16 Nov 2004 12:04 GMT
I have this custom property in my document:
custom --> "c:\\logo.jpg"

and I have this command before merge:
{INCLUDEPICTURE "{DOCPROPERTY custom}" \d \* MERGERFORMAT}

After merge I have in the new document:
{INCLUDEPICTURE "c:\\logo.jpg" \d \* MERGERFORMAT}

But, I need keep the original command after merge because the "custom"
property is variable. I want merge the MERGEFIELD field of a source data but
no the DOCPROPERTY field.

Is possible? Any idea? Very thanks for help.
Peter Jamieson - 16 Nov 2004 15:44 GMT
The trouble is that the merge process tries to resolve as many fields as
possible, with a few exceptions. No way is provided to say "don't resolve
this field type". So the only suggestions I can make are:
a. use VBA to re-insert the appropriate DOCPROPERTY field where necessary
b. put your { DOCPROPERTY } field in a separate document (probably just for
use with this particular mailmerge main document) and use soemthing like

{ INCLUDEPICTURE "{ INCLUDETEXT docpropfield.doc }" \d }

You may need to select the field in docpropfield.doc and create a bookmark,
e.g. called bodytext, then use

{ INCLUDEPICTURE "{ INCLUDETEXT docpropfield.doc bodytext }" \d }

to avoid inserting the included document's end-of-document marker.

Peter Jamieson
>I have this custom property in my document:
> custom --> "c:\\logo.jpg"
[quoted text clipped - 11 lines]
>
> Is possible? Any idea? Very thanks for help.
 
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.