Turn of "same as previous" globally?

L

Laura

Does anyone know a way to remove same as previous on all
sections at once? I work with lengthy documents that
require custom footers and it's a pain to go through and
remove the same as previous on each section.

Thanks!
 
S

Stefan Blom

You can use a macro such as the following:

'**********************************************
Sub DisableSameAsPrevious()
Dim s As Section
Dim h As HeaderFooter
Dim f As HeaderFooter
For Each s In ActiveDocument.Sections
For Each h In s.Headers
h.LinkToPrevious = False
Next h
For Each f In s.Footers
f.LinkToPrevious = False
Next f

Next s
End Sub
'**********************************************
 

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

Top