Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
S.P.
 
Posts: n/a
Default lock/unlink MailMerge.fields in header

I want to do a one-time (no update) MailMerge, into the existing document.
The permanent "locking" almost works with

Set myFields = ActiveDocument.Fields ' or ActiveDocument.MailMerge.Fields
?!?
For Each fn in myFields
If fn.type = wdFieldMergeField Then
fn.Unlink
End If
Next fn

Problem: the Fields in the header are not affected (which is good for page
numbers...but for that I have the " If fn.type = ..." ).

-- How can I unlink Mergefields in headers?

I just can't find the ActiveDocument.Fields equivalent for headers.


 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Number and Page header on the first page Frank Drost Formatting Long Documents 3 March 1st 05 02:17 PM
Header changes with text outside of header Connie Martin Microsoft Word Help 3 February 22nd 05 06:58 PM
Header and Footer robin Microsoft Word Help 4 January 12th 05 04:17 PM
How do I reformat a header on page 2 to be different from the hea. Ckanegae Microsoft Word Help 1 December 28th 04 10:43 PM
Same header but even/odd footer (sorry for the new thread) B?atrice Karjalainen Page Layout 1 December 16th 04 12:40 AM


All times are GMT +1. The time now is 02:52 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"