SUMMARY
This article explains how to insert a picture into the header or footer of a Microsoft Excel 2002 worksheet.
back to the top
Insert Picture into Header
New functionality in Excel 2002 provides the ability to add pictures to the header or footer areas of a worksheet. To do this, click the
Insert Picture button in the
Custom Header dialog box or the
Custom Footer dialog box.
To insert a picture into the left section of a worksheet's header, follow these steps:
- Start Excel, type Header Graphics in cell A1, and then press ENTER.
- On the File menu, click Page Setup.
- On the Header/Footer tab, click Custom Header, and then click the Insert Picture button.
- Double-click Sample.jpg.
The placeholder &[Picture] is added to the header. - Click OK to return to the Page Setup dialog box, and then click OK to return to the worksheet.
- On the File menu, click Print Preview. If the margins are not visible, click Margins.
The picture extends beyond the header margin and obscures the data in cell A1.
You can add pictures to the left section, center section, or right section, or all sections of a worksheet's header or footer by using this method. The pictures are aligned left, center, or right, respectively. To add a picture to the footer, follow this same method, but click
Custom Footer in step 3.
back to the top
Improve the Appearance of a Worksheet with a Picture in the Header
To improve the appearance of the worksheet and display all the data, you can take either or both of the following actions:
- Increase the header margin by dragging the margin indicators that are displayed on the screen.
- Change the size of the picture.
back to the top
Change the Size of the Picture
To change the size of the picture, follow these steps:
- Click Page Setup, and then click Custom Header.
- Click the Format Picture button.
- Clear the Height box, and then type .5 in the Height box.
Because the Lock aspect ratio and Relative to original picture size check boxes are selected, the other dimensions change in proportion to the change that you make in the Height box. - Click OK to return to the Page Setup dialog box, and then click OK to again preview the worksheet.
NOTE: After you have placed and formatted a picture, if you decide to move it to another section of the header or footer, you can copy and paste the code
&[Picture], but you need to select the picture again and reformat it if you do so.
back to the top
REFERENCES
For more information about custom headers or footers, click
Microsoft Excel Help on the
Help menu, type
custom header in the Office Assistant or the Answer Wizard, and then click
Search to view the topic.
For more information about how to use headers and footers, click the following article numbers to view the articles in the Microsoft Knowledge Base:
279305
Picture in header or footer is not added to all grouped worksheets
287482 How to add the workbook path to the header and footer in Excel
288966 The graphics in a header or a footer extend into the data area of a worksheet in Excel
back to the top