Turning Off "Link to Previous" by Default

Written by Allen Wyatt (last updated May 13, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365


Vann creates documents all the time that use multiple sections. When adding headers or footers to these documents, the "Link to Previous" setting is always turned on. Van wonders if there is a way to turn the setting off, by default. He rarely, if ever, uses it, and changing it all the time is a bother; it is just one more thing he has to remember to check as he works with the document.

There is no way to specify a default for the Link to Previous setting within Word itself. You can, however, change how you add breaks into your document. If you do this via a macro, then the macro can easily turn off the Link to Previous setting for the new, added section. Here's a quick way to do it:

Sub AddBreak()
    Dim iSec As Integer

    Selection.InsertBreak Type:=wdSectionBreakNextPage

    iSec = Selection.Information(wdActiveEndSectionNumber)
    With ActiveDocument.Sections(iSec)
        .Headers(wdHeaderFooterPrimary).LinkToPrevious = False
        .Headers(wdHeaderFooterEvenPages).LinkToPrevious = False
        .Headers(wdHeaderFooterFirstPage).LinkToPrevious = False
        .Footers(wdHeaderFooterPrimary).LinkToPrevious = False
        .Footers(wdHeaderFooterEvenPages).LinkToPrevious = False
        .Footers(wdHeaderFooterFirstPage).LinkToPrevious = False
    End With
End Sub

The .InsertBreak method actually inserts the break. In this case, it is a Next Page break. You can specify different types of breaks by simply changing the wdSectionBreakNextPage enumeration to one of these other types of breaks:

  • wdSectionBreakContinuous
  • wdSectionBreakEvenPage
  • wdSectionBreakOddPage

The macro then sets iSec equal to the current section's index number. This is then used in the With structure to set the LinkToPrevious property for all three types of headers and all three types of footers.

If you prefer, you could change the LinkToPrevious property for all the headers and footers in all sections of your document at once:

Sub ChangeAll()
    Dim s As Section

    For Each s In ActiveDocument.Sections
        s.Headers(wdHeaderFooterEvenPages).LinkToPrevious = False
        s.Headers(wdHeaderFooterFirstPage).LinkToPrevious = False
        s.Headers(wdHeaderFooterPrimary).LinkToPrevious = False
        s.Footers(wdHeaderFooterEvenPages).LinkToPrevious = False
        s.Footers(wdHeaderFooterFirstPage).LinkToPrevious = False
        s.Footers(wdHeaderFooterPrimary).LinkToPrevious = False
    Next s
End Sub

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13502) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Counting Document Lines

Need to know how many lines are in your document? Word provides a quick and easy way you can determine the information.

Discover More

Getting Rid of Fragment Warnings

Word provides a wide variety of tools that ostensibly help make you a better writer. One of those tools is the grammar ...

Discover More

Errors When Subtracting

When you subtract two numbers from each other, you have a certain expectation of what Excel should deliver. What if you ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Keyboard Shortcut to Access Header and Footer

Some folks like to avoid using the mouse whenever possible, preferring to leave their hands on the keyboard. If you are ...

Discover More

Protecting Headers and Footers

If you don't want the information in a header or footer to be changed by users of your document, there are a couple of ...

Discover More

Why Does the Footer Expand?

When you add too much text into a footer for that text to display in the space you've allotted to the footer, then Word ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 0 + 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.