Written by Allen Wyatt (last updated December 13, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365
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 rely on your printer. Some printers have the ability to add borders automatically around the border of a page. This, of course, is outside the control of Excel. You can find out if your printer has such capabilities by displaying the Printer Options dialog box for your printer (accessible through the Print dialog box or from the printing options page displayed by pressing Ctrl+P) and poking around through the options visible there.
Another approach 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. (The message thread is rather old, but the macro presented there still works just fine.)
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 (8185) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Adding Page Borders to a Printout.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
Need to only print out certain rows from your data? It's easy to do if you apply the filtering or sorting techniques ...
Discover MoreNeed your printed output to look its best? You may need to change the settings used by your printer, then. Here's how to ...
Discover MoreWhen you press the Print button in Excel, you want your worksheet to go to your printer and produce output as you expect. ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2018-12-08 10:54:57
Willy Vanhaelen
If your printer doesn't support adding borders you can consider to buy "Fine Print" (fineprint.com) which can do that with any printer and a lot more...
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2023 Sharon Parq Associates, Inc.
Comments