Change Defaults

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

Guest

I'm using Word 2003, SP-2.

When I insert a new section, I want the default header/footer to not be the
same as previous. Is there a way to do this?
 
Use the following macro to insert the break

Sub InsertUnlinkedBreak()
Dialogs(wdDialogInsertBreak).Show
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
Selection.HeaderFooter.LinkToPrevious = False
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageFooter
Selection.HeaderFooter.LinkToPrevious = False
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
End Sub


Note the header and footer links are un-set separately.

http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top