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

Understanding Underlines

Excel provides a variety of underlining styles you can use when you need to underline information within a cell. Here's ...

Discover More

Problem with Missing Context Menu Option

When you right-click a cell, does it seem that the Context menu is missing an item or two? Here's how to get those items ...

Discover More

Using the UNIQUE Function

The UNIQUE function can be used to evaluate a range and return the unique values in that range. Understanding how the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Setting Tab Stops Using the Tabs Dialog Box

Aligning different lines in your document is easy. Using the tab stops feature in Word, you can set four different types ...

Discover More

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

Flush Left and Flush Right On the Same Line

Need to have some text at the left margin and some at the right, all on the same line? It's easy to do if you use your ...

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 two more than 7?

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.