Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Adding Page Borders to a Printout.

Adding Page Borders to a Printout

by Allen Wyatt
(last updated April 19, 2014)

2

Alan uses Excel frequently for creating printouts that are used by others. He likes to include borders on the final documents to give them a professional appearance. Alan knows how to invoke page borders in Word, but there isn't a similar feature in Excel. Lacking this he has resorted to manually inserting borders on cell ranges to get the appearance he wants. This works OK if the printout is a single page, but it isn't too great when Alan has multi-page printouts. He wonders if there is some way to add page borders automatically in Excel.

There are a couple of ways you can approach creating page borders for an Excel printout, but none of them are automatic. One way is to create an image of your border using your favorite graphics program and save it as a JPG, PNG, or TIF file. (You could actually use several other image file formats, but these are ones typically supported by all the graphics programs.) In Excel you can then, within the header, insert the picture of the border. Format the picture to adjust the image size so it covers your whole page.

If you prefer a macro approach to the problem, then you may want to use the solution presented in this message thread:

http://www.ozgrid.com/forum/showthread.php?t=83326

There are also third-party solutions available. One that has come highly recommended by some subscribers over the years is ASAP Utilities (http://www.asap-utilities.com). It allows you to create borders rather easily.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8183) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Adding Page Borders to a Printout.

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

Changes to Toolbars aren't Persistent

If you make changes to a toolbar in Word, you expect those changes to be available the next time you start the program. ...

Discover More

Reusing a Bookmark

Bookmarks in Word are just like bookmarks used in paper books, any given bookmark may be reused to mark a new location. ...

Discover More

Determining if Num Lock is On

Need to know if the Num Lock key is on or off? You can use a short bit of macro code to figure out the state of the key.

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 (menu)

Adjusting Comment Printouts

Need to print out comments, but in a way that you control what is included in the printout? Here's a way you can extract ...

Discover More

Printing an Entire Workbook by Default

Need to print an entire workbook? It's as easy as adding a single line of code to your macros.

Discover More

Specifying Print Quantity in a Cell

When you print a worksheet, you can specify in the Print dialog box how many copies you want printed. If you want 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 2 + 2?

2016-10-13 08:05:23

RENILC

how to add page border in excel


2015-03-11 11:25:32

T Sullivan

I have Excel 2007 and this doesn't work. It doesn't not run autmatically and when I manuall run the macro I get an "X 400" error box on my screen. Any ideas?


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon 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.