Please Note: This article is written for users of the following Microsoft Excel versions: 2007 and 2010. 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: Formatting the Border of a Legend.

Formatting the Border of a Legend

by Allen Wyatt
(last updated November 30, 2015)

When you create a chart in Excel, the Wizard that you follow may create a chart legend, depending on the type of chart you are creating. Normally, the appearance of the legend will be acceptable for the type of chart you are creating. You have complete control, however, over how the legend appears.

One of the elements you can change is the type of border Excel places around the legend. To change the appearance of the legend's border, follow these steps:

  1. Right-click on the legend to display a Context menu, then select Format Legend. Excel displays the Format Legend dialog box. (See Figure 1.)
  2. Figure 1. The Format Legend dialog box.

  3. Use the Border Color option to change the color of the border.
  4. Use the Border Styles option to select different border styles and weights for the legend.
  5. Use the Shadow option to specify the type of shadow you want applied to the legend.
  6. Click on OK.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6153) applies to Microsoft Excel 2007 and 2010. You can find a version of this tip for the older menu interface of Excel here: Formatting the Border of a Legend.

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

Problem with Missing Context Menu Option

When you right-click a cell, does it seem that the Context menu is missing an item or two? Here's how to get those items ...

Discover More

Lining Up Numbered List Numbers

Do you want the numbers in your numbered lists to be aligned differently than they normally are? You can adjust the alignment ...

Discover More

Generating Unique, Sequential Names

Do you need to create a number of words or phrases where you only alter a few letters in each one? If the alterations follow ...

Discover More

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!

MORE EXCELTIPS (RIBBON)

Turning the Legend On and Off

When you create a chart in Excel, the program may automatically add a legend that explains the contents of the chart. In some ...

Discover More

Putting a Chart Legend On Its Own Page

Displaying information using charts in Excel is easy and there are a variety of chart styles to choose from. Integrated into ...

Discover More

Adjusting the Order of Items in a Chart Legend

When charting your data, a legend is always a nice finishing touch. You may want to change the order in which items appear in ...

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 for this tip:

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

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


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.

Links and Sharing
Share