Mergeformat field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a merge format field in a header and the body of the document. Since
upgrading to Word 2003 the field is not updating automatically in the header.

Any suggestions as to why and how I can work around this?

Thanks for any assistance.

kh
 
mergeformat isn't a field. It's a field switch that controls what happens
when you update the field. What information are you trying to display?
 
Merge fields can't be used in headers.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Hmm... I use mailmerge fields in footers and they work for me. (Word 2003)

Of course my use of merge is a bit different. I do not actually do a merge.
I connect to the database, find my record, and display the merged data on
screen. I then print out from the merged screen. Don't know if that makes a
difference.

On the other hand, if we are talking about the mergeformat switch in fields,
I tend to avoid it and use a charformat switch instead.
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
On reflection, I'm probably wrong. It occurs to me that it is some other
fields (such as CreateDate) that don't work in the headers/footers of merge
documents. In any case, it's not clear that the OP is referring to merge
fields.

The KB article "WD2000: Fields in Header and Footer Not Merged in E-Mail
Attachment" (http://support.microsoft.com/?kbid=214165) certainly implies
that merge fields in the header and footer usually do work.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
It is information that is being pulled from a Lotus Notes Database. All the
fields in the body of the document update correctly at the time the document
is created, but the header field does not. The exact same field is in the
body of the document and it updates OK. The field is as follows:

{ DOCVARIABLE BP_Summary \* MERGEFORMAT }
 
You either have to use code to iterate through the headers in all sections
in the document and update the fields in the .Range of each header, or use
Print Preview which should also cause the fields in the headers and footers
to be updated.

ActiveDocument.PrintPreview
ActiveDocument.ClosePrintPreview

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 
Back
Top