+ Reply to Thread
Results 1 to 2 of 2

Dynamic Pie Chart With Fixed Colors

  1. #1
    Registered User
    Join Date
    06-27-2014
    Location
    UK
    MS-Off Ver
    Pro 2003
    Posts
    13

    Dynamic Pie Chart With Fixed Colors

    Hello all,


    I'm working with a pie chart that has a dynamic range as its data source and a dynamic range as its legend. The chart shows ratios of bought items depending on customer type. So, when you switch from a "Hair" customer to a "Bath & Body" customer, the ratios shift and the legend changes as well (i.e. "Hair - 25%" to "Hair - 10%").


    Is there a way to fix the colors permanently so that as the ranges change, the colors remains the same for each category?


    I've seen some VBA for it, but it was for data in long columns, whereas my data is in one range in the middle of the worksheet.


    I can attach the file if it makes things easier.


    Thank you!

  2. #2
    Registered User
    Join Date
    06-27-2014
    Location
    UK
    MS-Off Ver
    Pro 2003
    Posts
    13

    Re: Dynamic Pie Chart With Fixed Colors

    Solved it missen.

    For those interested,

    http://peltiertech.com/WordPress/vba...ategory-label/

    is very useful. I was using formulas instead of values for the formatted cells, and that was my trouble.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dynamic colors in Excel Line Chart
    By bergsorensen in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-09-2013, 05:01 AM
  2. Dynamic colors for excel gantt chart
    By sine.grujica in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2012, 04:12 AM
  3. Force fixed chart line colors across charts
    By SueWithQuestion in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-14-2011, 04:58 AM
  4. dynamic colors for top ten line chart
    By imatomic in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-28-2009, 02:53 PM
  5. [SOLVED] How to add a fixed point to a dynamic chart
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-11-2005, 09:20 AM

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