Is there any way to "ignore" certain fields in a merge?

R

Robin Tucker

Hi,

I have a document with several mail merge fields in. Some of these fields I
do not want to be included in the mail merge (ie. I don't want word to
resolve the merge for that particular field, just copy the field code
across). The reason is because I want the field in tact for a second pass.
Is this possible? (ie. is there a flag called "bIgnoreMe" anywhere?).



Thanks



Robin
 
R

Robin Tucker

Well on the second pass, I don't want to run a mail merge, I want to scan
the document for certain fields (iterating the Fields collection), replacing
them with OLE Links. Another approach I think would be to "INCLUDEPICTURE"
on some dummy .jpg and then scan the InlineShapes on the second pass. A bit
of a hack but it might work. I know the INCLUDEPICTURE field remains after
a merge.
 
R

Robin Tucker

Actually, i see I can embed a link, but not give it a subject (ie. { LINK
MyType.MyImageType } ). This survives the mail merge and I can iterate the
fields collection later, looking for these links and giving them proper
subjects. So no need for INCLUDEIMAGE here :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top