Home |
Search |
Today's Posts |
|
#1
|
|||
|
|||
Mergeformat field
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 |
#2
|
|||
|
|||
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? "kharrison" wrote in message ... 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 |
#3
|
|||
|
|||
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 } "Jezebel" wrote: 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? "kharrison" wrote in message ... 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 |
#4
|
|||
|
|||
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 "kharrison" wrote in message ... 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 } "Jezebel" wrote: 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? "kharrison" wrote in message ... 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 |
#5
|
|||
|
|||
Merge fields can't be used in headers.
-- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "kharrison" wrote in message ... 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 |
#6
|
|||
|
|||
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. "Suzanne S. Barnhill" wrote in message ... Merge fields can't be used in headers. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "kharrison" wrote in message ... 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 |
#7
|
|||
|
|||
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 Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Charles Kenyon" wrote in message ... 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. "Suzanne S. Barnhill" wrote in message ... Merge fields can't be used in headers. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "kharrison" wrote in message ... 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 |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Home Phone field not getting picked up in Merge | Mailmerge | |||
Zip Field Jumps Out Of Place | Mailmerge | |||
Make merged field bold if merged field > 3 | Mailmerge | |||
How do I use the PRINT field code to ... | Microsoft Word Help | |||
Text Form Field Ref in Footer Won't Update on Screen | Microsoft Word Help |