If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
DOCPROPERTY after Merge
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. |
#2
|
|||
|
|||
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 a 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 "1960JCAP" wrote in message ... 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. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Merge data from Excel into different docs in one Word file | sue_w1231 | Mailmerge | 1 | November 16th, 2004 12:55 AM |
Footer moves up on page in merge | LauraLee | Mailmerge | 2 | August 26th, 2004 08:25 PM |
Mail Merge for Catalog document | Terry | General Discussion | 1 | July 27th, 2004 05:33 AM |
How to run word and pass a mail merge values and fax it to the recipient | Belinda | Mailmerge | 2 | June 13th, 2004 12:49 AM |
Merge to Fax with SBS/Exchange? | Tom | Mailmerge | 3 | May 18th, 2004 11:22 PM |