LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
ML ML is offline
external usenet poster
 
Posts: 57
Default Colors on a pie chart

Hi guys,

I am trying to create a macro to re-colour a selection of pie charts with
standard colours. They all have a different number of points but I want the
same colour sequence for each chart.
For example:
ActiveChart.SeriesCollection(1).Points(1).Interior .ColorIndex = 55
ActiveChart.SeriesCollection(1).Points(2).Interior .ColorIndex = 47 etc...
However, I don't know how to do it for the variable number of points.

Any suggestions?

Thanks.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chart background colors by value Barbie Charts and Charting in Excel 1 April 22nd 10 08:13 PM
Chart Colors Leirikello Charts and Charting in Excel 2 August 18th 09 09:51 PM
Bar Chart colors less than zero ORLANDO VAZQUEZ Excel Discussion (Misc queries) 2 January 28th 09 09:25 PM
Pie Chart Colors Question Boy Excel Programming 1 April 17th 08 11:42 AM
static colors in chart chart Johan Charts and Charting in Excel 1 September 22nd 05 01:01 PM


All times are GMT +1. The time now is 10:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"