Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. 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 February 1, 2020)


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 sheets 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 if all the worksheets in the workbook are included in the group. If not all the worksheets are in the group, click on the tab of a worksheet not included in the group.)

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, 2013, 2016, 2019, and Excel in Office 365. 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. ...


Calculating Averages by Date

When you have a huge amount of daily data to analyze, you may want to calculate an average of values for any given date ...

Discover More

Counting Commas in a Selection

If you have a range of cells in which you want to count all the commas, there are several ways you can derive the figure ...

Discover More

Downloading Documents to Your Local Computer

Want to pull a document out of the cloud and store it on your local hard drive? Google Drive provides the ability to get ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Adding Ampersands in Headers and Footers

Add an ampersand to the text in a header or footer and you may be surprised that the ampersand disappears on your ...

Discover More

Copying Headers and Footers

Need to copy headers and footers from one worksheet to another? How about from one workbook to another? Here are some ...

Discover More

Setting Header/Footer Margins

Do you find that there is a lot of extra space around the data on your worksheet when it is printed? Changing the margins ...

Discover More

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

View most recent newsletter.


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 3 + 9?

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


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


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


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

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


Thanks for the tip, easy to follow instructions.

2016-05-17 19:07:17


Thank you so much - great time saver:)

2016-04-08 16:33:12

John Jacobson

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

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.