View Single Post
 
Old 05-04-2012, 01:26 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,355
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You shouldn't need to 'seek' either the header or document views. You may also need to specify which header to update. Try:
Code:
While ActualCopies <= mCopies
  If ActualCopies = 1 Then
    With ActiveDocument.Sections.First.Headers(wdHeaderFooterPrimary).Range
      .Text = "Customer Copy"
      .Paragraphs.First.Alignment = wdAlignParagraphCenter
    End With
  etc.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote