Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Office 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

by Allen Wyatt
(last updated August 29, 2020)

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 Office 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

Removing All Text Boxes In a Document

Text boxes are a common element of many types of documents. At some point you may want to get rid of all the text boxes ...

Discover More

Inserting the Document Title in Your Document

One of the pieces of information you can store with a document is the title of that document. Using fields, you can then ...

Discover More

Replacing an X with a Check Mark

In order to provide a finishing touch to your document, you may want to replace mundane X marks with fancier check marks. ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Automatically Setting Right Leader Tabs

If you have a constant need to define tabs at the edge of the right margin, you'll love the macro-based technique ...

Discover More

Using Dot Leaders in a Paragraph

Adding dot leaders to your text is easy through the application of tab stops. This tip explains the steps you need to ...

Discover More

Searching for Tabs

Tabs don't normally show up in your printed document, but Word allows you to still search for them. All you need to do is ...

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 three less than 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.

Newest Tips
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.