Closed Thread
Results 1 to 2 of 2

Why does this macro color the series on the chart but not the legend, for non-pie charts?

  1. #1
    Registered User
    Join Date
    04-16-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    52

    Why does this macro color the series on the chart but not the legend, for non-pie charts?

    The purpose of the following code is to change the colors of the series in a chart according to the colors of cells with the values. It was originally made for Pie charts and it works for those.

    I don't understand most of the code, but I noticed that there's a line in it in order to skip all charts which are not pie. I put that line in comment because I want to use this macro for a stacked column chart. However the problem is that it only changed the colors of the columns, but not the legend. (the legend has the same color as before which doesn't fit the new color of the columns)

    Please Login or Register  to view this content.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,027

    Re: Why does this macro color the series on the chart but not the legend, for non-pie char

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Series name in columns - getting them to be the legend on a chart
    By davidx in forum Excel General
    Replies: 1
    Last Post: 09-03-2014, 11:38 AM
  2. need to remove #N/A from chart legend series
    By plabh in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-27-2013, 01:35 AM
  3. Set chart series color to match series legend entries font color
    By Equipoise in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-03-2013, 07:33 AM
  4. Legend for scatter charts with color coded data points
    By Bernadine in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-26-2012, 10:32 AM
  5. Replies: 0
    Last Post: 06-07-2012, 11:09 AM
  6. [SOLVED] Exclude one data series from scatter chart legend (but not from the chart)
    By JayUSA in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-29-2012, 05:24 PM
  7. Series order in a chart legend.
    By Phil in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-28-2005, 04:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1