Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Drawing Borders.

Drawing Borders

Written by Allen Wyatt (last updated July 10, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


The normal way to add borders around a cell or range of cells is to select the cell or range, and then use the Border tab of the Format Cells dialog box. There is a quick shortcut you can use to actually "draw" borders around cells.

Start by displaying the Home tab of the ribbon. In the Font group, click the down-arrow at the right of the Border tool. Excel displays a whole range of options; you want to choose Draw Border. Choose this, and the mouse pointer becomes a small pencil. (See Figure 1.)

Figure 1. Excel allows you to draw borders in a worksheet

Now you can just click and draw borders wherever you want them. The options accessible through the drop-down arrow at the right of the Border tool allow you to specify what type of line you want, along with the line color.

When you are done creating your borders, just press the Esc key. The mouse pointer returns to normal, and you can use Excel like you normally do.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6231) 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: Drawing Borders.

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

Understanding Subroutines

When developing macros, you can create subroutines. This is a great way to reuse common code and make your programming ...

Discover More

Pixels in a Text String

Determining the length of a text string is easy, but figuring out how many pixels are represented by those characters is ...

Discover More

Printing Two Worksheets on a Single Page

Getting your printouts to appear on a printed page exactly as you want can be a challenge at times. What if you want to ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Exporting Latitude and Longitude

A handy way to store latitude and longitude values in Excel is to treat them as regular time values. When it comes around ...

Discover More

Changing the Default Vertical Alignment

By default, Excel vertically aligns cell contents to the bottom of cells. If you prefer a different default alignment, ...

Discover More

Automatically Changing a Cell's Background Color

It is often desired to change what is displayed in a cell based on what is in a different cell. What if what you want to ...

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}] (all 7 characters, in the sequence shown) 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 6 - 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

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.

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.