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: Styles for Lines, Dashes, and Arrows.

Styles for Lines, Dashes, and Arrows

Written by Allen Wyatt (last updated January 1, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


Excel allows you to place many different types of graphics objects within your worksheets. One common type of graphic object is a line or arrow. When you first insert lines or arrows into your worksheet, Excel places them using a thin line. You may want to change the width of the line used, as well as the style of line or arrow.

You make the desired changes by using the tools available on the Format tab of the ribbon. (This tab is visible only after you select the line you previously placed in the worksheet.) Click the Shape Outline option in the Shape Styles group. You'll see a palette that includes the following options:

  • Weight. Use this option to specify a line width.
  • Dashes. Use this option to specify a non-solid style for the line
  • Arrows. Use this option to indicate how you want the arrowheads to appear.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8887) 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: Styles for Lines, Dashes, and Arrows.

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

Declaring Variables

Declaring variables in a macro is good programming practice. Here's how to do it and how to make sure they are all declared.

Discover More

Creating a Document Clone

If you need to work with a copy of a document rather than the original document, you can use Word's Open dialog box to ...

Discover More

Understanding Shortcuts

One way of optimizing your user interface is through the use of shortcuts. This tip provides a brief overview of what ...

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)

Hiding Graphics when Filtering

Excel allows you to set up graphics so that they are associated with cells and even stay with the cells when the cells ...

Discover More

Adding a Line Shape of a Given Slope and Length

If you want to create a line in your worksheet that is a specific length and slope, there are a couple of ways you can do ...

Discover More

Creating a JPG File from a Chart

Excel provides some great tools that allow you to create amazing charts based on data in your worksheets. Once your ...

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 8 + 7?

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.