A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

DOCPROPERTY after Merge



 
 
Thread Tools Display Modes
  #1  
Old November 16th, 2004, 12:04 PM
1960JCAP
external usenet poster
 
Posts: n/a
Default 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  
Old November 16th, 2004, 03:44 PM
Peter Jamieson
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 04:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.