View Single Post
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Merge fields in IF statements not working

The implication of this is that the other users do not have access to the
data file when they open the template.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


KeithG wrote:
Any IF statement will do it, so even

{ IF { Mergefield Name } "Fred" "This isn't Fred" "{ Mergefield
Name }" }

for the user who created the mail merge template, it's not a problem,
but all other users word will say that display the normal dialogue box
for Invalid Merge Field for the field in question ie Name.

Keith.

Graham Mayor wrote:
Are you going to keep us guessing or are you going to reproduce the
conditional field here? Use the macro at
http://www.gmayor.com/export_field.htm to export it exactly!

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


wrote:
I have a problem when using an IF statement and then inserting a
mail merge field in to the IF statement. When my user runs the mail
merge it is fine, but when other users run it, Word questions the
merge field in the IF statement and says that it is an invalid
merge field.

Any ideas?