Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Putting Headers and Footers On Multiple Worksheets.

Putting Headers and Footers on Multiple Worksheets

by Allen Wyatt
(last updated March 21, 2015)

14

One of the typical last touches to a worksheet before printing is to place headers or footers. This is very easy to do if you have only a worksheet or two in which to place the headers and footers. What if you have quite a few worksheets in the same workbook, and you want them all to have the same header and footer.

Actually this isn't too hard to do, either. All you need to do is work with a group of worksheets as a single unit. Just follow these general steps:

  1. Decide which worksheets you want to have the same headers or footers.
  2. Select the first worksheet in the series (click the tab for that worksheet).
  3. Hold down the Shift key as you click on the tab for the last worksheet in the series. A range of worksheets should now be selected. Excel also adds the word [Group] to the title bar to indicate you have a group of worksheets selected.
  4. Set your header or footer as you normally would (as outlined in other issues of ExcelTips). Your changes are automatically made on all the sheet in the selected range.
  5. When done, select a single worksheet by clicking on its tab. (Click on the tab of a worksheet other than the first in the range.)

That's it; you've now set the headers and footers of all the sheets to be identical.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9731) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Putting Headers and Footers On Multiple Worksheets.

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

Shading a Cell Until Something is Entered

Conditional formatting provides the opportunity to get very creative with your formatting. One such creative urge can be ...

Discover More

Using Revision Tracking

Want to keep track of the changes other people make to your workbook or even your own changes? Excel makes gathering this ...

Discover More

Implementing a Dynamic Document Control Table

Accurately and repeatedly referencing information within a document is a common task that needs to be done. One way to ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Adding Graphics to a Header or Footer

Excel makes it easy to add graphics to a header or footer. Here's the steps to make it happen.

Discover More

First and Last Names in a Page Header

When you have a worksheet that includes a long list of names, you may want the first and last names on each page to ...

Discover More

Using a Formula in a Footer

Excel won't let you place a formula directly into a footer. You can, however, create a simple macro that will produce the ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, 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}] 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 9 - 4?

2018-12-28 14:53:58

John Jacobson

@ilana, I have not been able to get this to work for images. Same result as you, everything but the image. For footers with an image (company logo), I have a macro to add the footer and image. The code below has a minor variation for non-charts, puts the disclaimer text on 2 lines. The "&G", I don't know specifically what that does, but apparently it's necessary to get the image to appear. Code:

Sub FooterSR_Logo()
Application.ScreenUpdating = False
Application.PrintCommunication = False
If ActiveSheet.Type = 3 Or ActiveSheet.Type = 4 Or ActiveSheet.Type = -4109 Then

With ActiveSheet.PageSetup
.LeftFooterPicture.Filename = _
"C:\Users\john.jacobson\Pictures\LocationsMed 4C Tag Sig20%.jpg"
.LeftFooter = "&G"
.RightFooter = _
"&9The distribution, publication or other use of the materials herein are strictly prohibited without specific permission from Locations"
End With

Else

With ActiveSheet.PageSetup
.LeftFooterPicture.Filename = _
"C:\Users\john.jacobson\Pictures\LocationsMed 4C Tag Sig20%.jpg"
.LeftFooter = "&G"
.RightFooter = _
"&9The distribution, publication or other use of the materials herein" & Chr(10) & "are strictly prohibited without specific permission from Locations"
End With

End If
Application.PrintCommunication = True
Application.ScreenUpdating = True
End Sub



2018-12-27 20:14:38

ilana

I've been able to use this except I have an image in the footer that I am trying to copy over. It seems to copy everything except the image. Any insight?


2018-11-27 05:09:26

Sophie

Thank you so much for this. I spent about 15 minutes looking for this answer but kept getting how to 'repeat rows' instead. I knew it was possible so I just kept looking. You are a star!


2017-04-14 21:01:00

John Jacobson

@Jill:
Both of those settings are in the Page Setup, and so they can be duplicated across multiple sheets as described below. In the Page Setup dialog, Header/Footer tab, Custom Footer button (for example):
For tab name, click the Insert Sheet Name button, or type "&[tab]".
For page numbers, click on the appropriate buttons, or type the codes (I often use "Page &[page] of &[pages]").

About page numbers when printing multiple sheets at once: if you select multiple tabs and then Print, the correct tab names will print out where they're supposed to; however, page numbers will be cumulative. if each tab prints to a single page, selecting tabs 1-5 and printing will show "Page 1 of 5" on the first page and "Page 5 of 5" on the last page. if tab 1 prints to 3 pages, for example, then selecting tabs 1-5 and printing will show "Page 1 of 7" on the first page and "Page 7 of 7" on the last page. As far as I know, the only way to make each tab start with "Page 1" is to print them all separately. A simple macro can handle that.

I hope this helps end the tedium.


2017-04-05 09:02:04

Jill Touchberry

This tip is not quite helpful for me. I have a workbook with 100 tabs. I need for the tab setting in the footer to be the tab name for each tab. I also need the page numbers to reset with each tab.
I am currently setting these on each tab which is very tedious.


2016-07-29 08:42:07

Chris

Thanks for the tip, easy to follow instructions.


2016-05-17 19:07:17

Catherine

Thank you so much - great time saver:)


2016-04-08 16:33:12

John Jacobson

@Trel:
I don't think there's any down and dirty. Excel and Word handle headers in an entirely different way, so my belief is that you will need a macro crafted with an understanding of the inner workings of both.


2016-04-07 22:43:05

Trel Mangarin

Is it possible to make headers and footers between an excel sheet and a word document identical? I'd like to use the same page numbering format, pictures, and graphics between the two. Is there a quick and dirty way to do this?


2015-11-02 11:25:01

Fast Eddie

Maybe I'm missing something, but I think there's a mistake in this tip.

If you've selected a group of worksheets but NOT ALL the worksheets in the workbook, then clicking on the tab of a worksheet in the group does NOT "un-group" them. You have to click on the tab of any worksheet that is NOT PART OF THE GROUP. Of course, you can always use the right-click menu's "ungroup" command (as Tony Davis notes, below).
Only if you have selected all worksheets will clicking any tab will work to un-group the selection.


2015-03-30 17:54:02

John Jacobson

Important note: using this Tip changes all settings within Page Setup, not just Header and Footer. When you make any change to Page Setup, and click OK, Excel saves the entire set of options within Page Setup (except for Print Titles and Print Area, as Doug mentioned). If you have multiple sheets selected, the entire Page Setup will be made the same for all sheets as for the active sheet, including scaling, orientation, margins, header/footer, and sheet settings. Understanding this may save you some trouble (for example, if you want to change a footer but preserve other Page Setup settings).

I use this as a quick way to borrow or "copy" the Page Setup from one sheet to another, and from one file to another, because when you edit Page Setup, the entire Page Setup is then made available to the Repeat Last Action (Ctrl+Y) and Redo (F4) commands. For example, if you edit Page Setup on one sheet, you can then select another sheet or multiple sheets and simply press Ctrl+Y or F4, and the entire Page Setup is duplicated in the selected sheet(s), including scaling, orientation, header and footer, and sheet settings (except Print Titles and Print Area).

In fact, the Page Setup doesn’t have to be changed, just edited. If you switch orientation from Portrait to Landscape and then back again, or go into Footer and replace an “s” with an “s”, that’s enough to save all Page Setup settings.

Cool and convenient!


2015-03-23 12:25:53

Doug Edwards

This multiple sheet selection process can also apply for making changes or adding to the selected set of worksheets. For all worksheets in a group where the formulas or formatting is identical for the cell of interest, i.e., A1, you can add to or edit A1 on all the worksheets at once by selecting all the sheets, then editing on the anchor sheet in the group. Always remember to ungroup the sheets when finished. This also works for printing, although if page numbers are shown, the page numbers will be sequential on the printed sheets. As far as I can determine, this doesn't work for setting print areas. There may be other functions that may or may not work with this process. I am not sure on ALL possibilities.


2015-03-21 05:56:49

Tony Davis

You don't have to select consecutive sheets, you can always hold down the CTRL key whilst selecting the individual tabs (clicking on the required tabs).

When finished, if you find clicking on a single tab doesn't ungroup the sheets, right click on one of the selected tabs and the option "ungroup sheets" should be available.


2015-03-21 05:27:00

Raman Shori

Really very useful sharing.


This Site

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

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, 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.