How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

You can use a header to include the same information at the top of every printed page or a footer to include information at the bottom of every page. You can enter your own headers or footers, insert built-in ones, or insert specific elements such as pictures or page numbers.

  1. Click the Insert tab.
  2. Click the Text button.
  3. Select Header & Footer.

    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

    The Header & Footer view displays and the header is active.

    You can also access the header and footer by clicking the View tab and clicking the Page Layout View button.

  4. Click in the header section where you want to add text.
  5. Enter custom text or select a pre-defined header from the Header & Footer Elements group or Header menu.
  6. To view the footer, click the Go to Footer button.

    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

  7. Click in the footer section where you want to add text.
  8. Enter custom text or select a pre-defined footer from the Header & Footer Elements group or Footer menu.

    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

Headers and footers can be formatted using the commands in the Font group on the Home tab.

The Header & Footer Elements group has a variety of pre-defined options you can use.


Since the amount of content entered in a header or footer can vary, the height may need to be adjusted to fit all the text.

  1. Click the Page Layout tab.
  2. Click the Margins button.
  3. Select Custom Margins.

    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

  4. Enter a new height for the header or footer.
  5. Click OK.

    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

The header and footer heights are adjusted and to accommodate the amount of content entered.

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

FREE Quick Reference

Click to Download

Free to distribute with our compliments; we hope you will consider our paid training.

Do you want to know how to make a header in Excel? Or are you wondering how to add the footer page 1 to the current worksheet? This tutorial will teach you how to quickly insert one of the predefined headers and footers and how to create a custom one with your own text and graphics.

To make your printed Excel documents look more stylish and professional, you can include a header or footer on each page of your worksheet. Generally, headers and footers contain basic information about the spreadsheet such as page number, current date, workbook name, file path, etc. Microsoft Excel provides a handful of predefined headers and footers to choose from, as well as allows creating your own ones.

Headers and footers are displayed only on printed pages, in Print Preview and Page Layout view. In the normal worksheet view, they are not visible.

How to add header in Excel

Inserting a header in an Excel worksheet is quite easy. Here's what you do:

  1. Go to the Insert tab > Text group and click the Header & Footer button. This will switch the worksheet to Page Layout view.
    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?
  2. Now, you can type text, insert a picture, add a preset header or specific elements in any of the three Header boxes at the top of the page. By default, the central box is selected:
    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

    If you wish the header to appear in the top left or top right corner of the page, click the left or right box and enter some information there.
  3. When finished, click anywhere in the worksheet to leave the header area. To exit the header box without keeping the changes, press Esc.

When you print out your worksheet, the header will be repeated on each page.

Like an Excel header, a footer can also be inserted in a few easy steps:

  1. On the Insert tab, in the Text group and click the Header & Footer button.
  2. On the Design tab, click Go to Footer or scroll down to the footer boxes at the bottom of the page.
    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?
  3. Depending on the desired location, click the left, center, or right footer box, and type some text or insert the element you want. To add a preset footer, please follow these steps, to make a custom Excel footer, see these guidelines.
  4. When done, click anywhere in the worksheet to exit the footer area.

For example, to insert page numbers at the bottom of the worksheet, select one of the footer boxes and click Page Number on the Design tab, in the Header & Footer group.

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

Microsoft Excel comes equipped with a number of inbuilt headers and footers that can be inserted in your document in a mouse click. Here's how:

  1. On the Insert tab, in the Text group, click Header & Footer. This will display the worksheet in Page Layout view and get the Design tab to appear.
  2. On the Design tab, in the Header & Footer group, click the Header or Footer button, and select the built-in header or footer of your choosing.

As an example, let's insert a footer that displays a page number and file name:

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

Voila, our Excel footer is created, and the following information will be printed at the bottom of each page:

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

Two things you should know about preset headers and footers

When inserting an inbuilt header or footer in Excel, please be aware of the following caveats.

1. Preset headers and footers are dynamic

Most of the preset headers and footers in Excel are entered as codes, which makes them dynamic - meaning your header or footer will change to reflect the latest changes you make to the worksheet.

For example, the code &[Page] inserts different page numbers on each page and &[File] displays the current file name. To see the codes, just click the corresponding header or footer text box. If you have chosen to add a complex header or footer, chances are that different elements will be inserted in different boxes like in the above example:

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

2. Preset headers and footers are inserted in predefined boxes

When adding a built-in header or footer, you cannot control the location of specific elements - they are inserted in the predefined boxes no matter which box (left, center, or right) is currently selected. To position the header or footer the way you want, you can move the inserted elements to other boxes by copying / pasting their codes or add each element individually as explained in the next section.

In Excel worksheets, not only can you add preset headers and footers, but also make your own ones with custom text and images.

As usual, you start by clicking the Header & Footer button on the Insert tab. Then, click one of the boxes at the top (header) or at the bottom (footer) of the worksheet and type your text there. You can also enter different pieces of information by selecting one of the built-in elements on the Design tab, in the Header & Footer Elements group.

This example will show you how to create a custom header with your company logo, page numbers, file name and current date.

  1. To begin with, let's insert File Name (workbook name) in the central header box:
    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?
  2. Then, select the right box and insert Page Number there. As you can see in the screenshot below, this only displays the number:
    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

    If you want the word "Page" to appear as well, click anywhere in the right text box, and type "Page" in front of the code, separating the word and the code with a space character like this:
    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?
  3. Additionally, you can insert the Number of Pages element in the same box by clicking on the corresponding button on the ribbon, and then type "of" in between the codes so that your Excel header displays something like "Page 1 of 3":
    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?
  4. Finally, let's insert the company logo in the left box. For this, click the Picture button, browse for the image file, and click Insert. The &[Picture] code will be inserted in the header straight away:

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

As soon as you click anywhere outside the header box, an actual picture will show up.

Our custom Excel header looks pretty nice, don't you think?

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

Tips:

  • To start a new line in a header or footer box, press the Enter key.
  • To include an ampersand (&) in the text, type two ampersand characters without spaces. For example, to include Products & Services in the header or footer, you type Products && Services.
  • To add page numbers to Excel headers and footers, insert the &[Page] code in combination with any text you want. For this, use the built-in Page Number element or one of the preset headers and footers. If you enter the numbers manually, you will end up having the same number on each page.

Add headers and footers using the Page Setup dialog box

If case you'd like to create a header or footer for chart sheets or for several worksheets at a time, the Page Setup dialog box is your option.

  1. Select one or more worksheets for which you'd like to make a header or footer. To select multiple sheets, hold down the Ctrl key while clicking the sheet tabs.
  2. Go to the Page Layout tab > Page Setup group and click the Dialog Box Launcher.
    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?
  3. The Page Setup dialog box will show up where you can select one of the preset headers and footers or make your own one.

To insert a preset one, click the drop-down arrow in the Header or Footer box and choose from the available options. For example:

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

To create a custom header or footer, do the following:

  • Click the Custom Header… or Custom Footer… button.
  • Select the left, center or right section box, and then click one of the buttons above the sections. To find out exactly what element a particular button inserts, hover over it to display a tooltip.
    For example, this is how you can add a page number to the right hand side of your Excel header:
    How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

    You can also type your own text in any section as well as edit or remove the existing text or codes.
  • When finished, click OK.

Tip. To see how your header or footer will look like on a printed page, click the Print Preview button.

There are two ways to edit headers and footers in Excel - in Page Layout view and by using Page Setup dialog.

To switch to Page Layout view, go to the View tab > Workbook Views group, and click Page Layout.

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

Or, click the Page Layout button on the status bar in the bottom-right corner of the worksheet:

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

Now, you select the header or footer text box and make the desired changes.

Another way to modify an Excel footer or header is by using the Page Setup dialog box. Please remember that a header and footer of chart sheets can only be edited in this way.

Once you have finished creating or editing your Excel footer or header, how do you get out of the header and footer view and return to the regular view? By doing any of the following:

On the View tab > Workbook Views group, click Normal.

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

Or, just click the Normal button on the status bar.

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

To remove an individual header or footer, simply switch to Page Layout view, click the header or footer text box, and press the Delete or Backspace key.

To delete headers and footers from multiple worksheets at once, carry out these steps:

  1. Select the worksheets from which you want to remove a header or footer.
  2. Open the Page Setup dialog box (Page Layout tab > Page Setup group > Dialog Box Launcher).
  3. In the Page Setup dialog box, click the drop-down arrow to open the list of preset headers or footers, and select (none).
  4. Click OK to close the dialog box.

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

That's it! All headers and footers in the selected sheets will be removed.

Now that you know the essentials of Excel headers and footers, the below tips may help you avoid common challenges.

To insert headers or footers on multiple worksheets at a time, select all target sheets, and then add a header or footer in the usual way.

  • To select multiple adjacent worksheet, click the tab of the first sheet, hold down the Shift key, and click the tab of the last sheet.
  • To select multiple non-adjacent sheets, hold down the Ctrl key while clicking the sheet tabs individually.
  • To select all worksheets, right-click any sheet tab, and choose Select All Sheets from the context menu.

Once the worksheets are selected, go to the Insert tab > Text group > Header & Footer and enter the header or footer information as you like. Or insert a header/footer via the Page Setup dialog.

When finished, right click any unselected sheet to ungroup the worksheets. If all of the sheets are selected, click any sheet tab, and then click Ungroup Sheets in the context menu.

To quickly change the font style or font color of your header or footer, select the text and pick the desired formatting option in the pop-up window:

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

Alternatively, select the header or footer text you want to change, head to the Home tab > Font group and select the formatting options you want.

If you'd like to insert a specific header or footer on the first page of your worksheet, you can have it done in this way:

  1. Change to Page Layout view.
  2. Select the header or footer.
  3. Go to the Design tab, and check the Different First Page box.
  4. Set up a special header or footer for the first page.

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

Tip. If you want to create separate headers or footers for odd and even pages, select the Different Odd & Even Pages box, and enter different information on page 1 and page 2.

To keep the font size of the header or footer text intact when the worksheet is scaled for printing, switch to Page Layout view, select the header or footer, go to the Design tab and clear the Scale with Document box.

How do you insert a Header with the current date in the center Header text box and then make the worksheet active?

If you leave this checkbox selected, the header and footer font will scale with the worksheet. For example, the header text will become smaller when you select the Fit Sheet on One Page printing option.

That's how you add, change and remove headers and footers in Excel. I thank you for reading and hope to see you on our blog next week.

You may also be interested in

How do you insert a header with the current date in the center header text box in Excel?

Insert the date or time into a header or footer.
On the Insert menu, click Header and Footer..
In the Header or Footer sections, click in the Left, Center, or Right sections, depending on where you want the date or time to appear..
From the Header & Footer Ribbon menu, click Insert Date or Insert Time..

How do I insert a header in Excel and make the worksheet active?

Click the worksheet to which you want to add specific header or footer elements. On the Insert tab, in the Text group, click Header & Footer. Excel displays the worksheet in Page Layout view. Click the left, center, or right header or footer text box at the top or the bottom of the worksheet page.

How do I insert the current date in Excel header?

In the header of your Excel document, you can insert a date element; it will always display the current date..
In the Ribbon, go to Insert > Header & Footer..
Now you can see three header sections. ... .
If you click on the worksheet somewhere outside the header sections, you can see the current date (10/25/2021)..
Insert the date in a footer in Excel.
Click Insert > Header & Footer..
Scroll down to the bottom of the worksheet..
Click on the left, center, or right footer box at the bottom of the worksheet..
Click Design > Current Date..
To exit the footer view, click anywhere in the worksheet, and then click View > Normal..