Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Automatically Changing Tab Stops in the Footer.

Automatically Changing Tab Stops in the Footer

Written by Allen Wyatt (last updated August 29, 2020)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


2

Most of Chuck's documents have footers that have right-aligned information at the right margin. This information is aligned through the use of tab stops. (The footer contains information aligned to the left margin and to the right.) If Chuck changes the margins for the document, the footer no longer aligns at the right margin; it aligns at the old right margin (the one he changed). Chuck wonders if there is a way to have Word change the tab stops in his footer automatically whenever he changes the right margin for the document.

There are two ways that you can approach this problem. One way is to use a two-column, one-row table in your footer. Set the width of the table to 100% and make sure the information in the right-most cell is right aligned. When you later change the margins of the document, the table automatically adjusts width and your information is correctly aligned.

The other approach is to use "alignment tabs" for your footer information. Follow these general steps:

  1. Create your footer as you normally would, but don't set any tabs in the footer yet. (Just type the footer text.)
  2. Display the Design tab of the ribbon. (Header & Footer tab in Word 2019 or Word in Office 365) This tab is visible when you are working in the footer.
  3. Click the Insert Alignment Tab tool, in the Position group. Word displays the Alignment Tab dialog box. (See Figure 1.)
  4. Figure 1. The Alignment Tab dialog box.

  5. Specify that you want the tab alignment to be Right relative to the Margin.
  6. Specify a leader character, if desired.
  7. Click OK.

That's it; you've just set a tab stop at the right margin and it will adjust to match whatever your right margin setting may be.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (8516) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Automatically Changing Tab Stops in the Footer.

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

Extracting Foreign-Language Characters

If you need to analyze some text to determine if it contains accented characters, there are a couple of ways you can ...

Discover More

Using a Macro to Change the Formatting of All Instances of a Word

If you have a word that you need to make sure is formatted the same way throughout your document, there are several ways ...

Discover More

Locking the Background Color

You can spend a lot of time getting the formatting in your worksheets just right. If you want to protect an element of ...

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)

Using Leaders with Tab Stops

Tab stops allow you to modify the horizontal position at which text is positioned on a line. Word allows you to preface ...

Discover More

Quickly Changing Tab Alignment

Need to change the alignment of some tabs in a multitude of paragraphs? How you approach the problem depends on whether ...

Discover More

Changing Default Tab Stops

If you don't explicitly set tab stops in a paragraph, Word relies upon a default tab stop distance. You can adjust that ...

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 nine minus 9?

2021-06-07 10:03:45

Andrew

My company recently instituted a policy of automatically inserting text boxes in the centers of footers of documents. Right (and in front of) where my page numbers go. In the process of changing my footer macro, I realized that alignment tabs are not limited to just headers and footers, it is just that by default the dialog box for inserting them is only available through the user interface via Headers'/Footers' Design tab.

But that interface is available in the main story of a document, outside of the editing of a header or footer, via the "Insert Alignment Tab" command which can be added to the Ribbon or Quick Access Toolbar or bound to a key command in the usual way. I haven't figured out how to call the dialog box from VBA as there doesn't seem to be a WdWordDialog constant for it (unless there is a constant for it that is undocumented), but an alignment tab can be directly inserted using the Range.InsertAlignmentTab method.

The tab inserted is unusual--it looks like an ordinary tab when showing symbols and in searching is treated like the character "0" (including by using ^48), so beware.

Andy.


2020-08-31 07:28:23

Guy Ivie

Just discovered that it doesn't work quite the same if you want to adjust the footer style. That tabs dialogue box doesn't contain the "Align relative to:" option. Wonder why that is? My workaround is 2 Footer styles: one for portrait letter-size pages, and one for landscape letter-size pages.

(see Figure 1 below)

Figure 1. Tabs dialogue box from Modify Styles


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.