LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
ER ER is offline
external usenet poster
 
Posts: 2
Default Problem with Setting Bar Chart Colors ( 56 bars)

Hi:

Excel 2003, Windows XP Professional

I have set up several bar charts and have a macro to set all the bar
colors to one color except for ones that are special.

The charts have about 80 - 100 bars or so.

Beyond the 56th. bar the color won't change. No matter what I do it
always reverts to the color Excel had set automatically.

It does work if I go in and change it manually but not via the macro.
I have many charts to do and do not wan't to do this manualy. Help!

The macro works fine on the bars 56 and below. As it goes above 56,
the color change doen't happen. Problem seems to have something to do
with color palette. Code looks like this:

For Each sr In chts.SeriesCollection
sr.Interior.ColorIndex = 23
Next sr

Many thanks for the help.

 
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
different colors for bars in a column chart KRK New Users to Excel 2 March 15th 09 04:16 PM
Conditional colors for bars in a chart??? Meenie Charts and Charting in Excel 7 July 19th 07 02:02 AM
Colors for chart bars Christian Christmann Charts and Charting in Excel 1 April 18th 07 10:38 PM
assign permanent colors to bars/values in a pivot chart Rose73 Charts and Charting in Excel 1 June 1st 06 05:59 PM
Setting number format for a Chart (bars) from C# CAE1030 Excel Programming 0 April 6th 06 07:44 PM


All times are GMT +1. The time now is 10:40 PM.

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

About Us

"It's about Microsoft Excel"