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.
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!
On-screen Excel displays row numbers that help you easily see what is in each row. If you want to print these row ...
Discover MoreExcel allows you to repeat rows at the top of every page of a printout. If you want to repeat rows at the bottom of every ...
Discover MoreIf you don't need to print an entire workbook, it can be confusing to figure out how to print just certain pages. This ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
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?
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2021 Sharon Parq Associates, Inc.
Comments