Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Forcing charts with common columns to display colors consistantly

Novice poster using Excel 2k on Win2k:

I wish to force Excel to use the same color for the same
data-item (column) across multiple charts - even multiple
workbooks consistantly.

Some of the charts diplay top n or bottom n, therefore it
is impossible know which colors should be used.

My spreadsheet makes serial stored procedure calls to a
SQL Server and then stores the returned data on a hidden
sheet until the process is re-run for a different
parameter set.

My thought was to loop through the ChartObjects/the
SeriesCollection/PointsCollection and then pass the
Point "Name/Caption" to a function and return the correct
(user defined color) for that data item.

Whilst my code may not be perfect it is performing the
nested loops as described - Why can I not access the
Point 'Name' i.e. the column name on a column type chart?

This is irritating as the information is presented to me
when ever I hover the cursor over the chart column.

I am currently achieving the same effect by using the
value of a hidden data-label but its not neat!

Is my approch misguided or am I missing something?

Regards

Kieran Hayes











Reply
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
Forcing the display of new custom formatting Sagebrook Excel Discussion (Misc queries) 3 July 21st 09 10:10 PM
Consistantly average 180 data cells tiggs96 Excel Worksheet Functions 9 February 23rd 09 05:36 PM
Display Hidden Columns in Charts Dave Charts and Charting in Excel 1 April 14th 08 12:51 PM
Matching the colors Column Charts and Pie Charts RohanSewgobind Charts and Charting in Excel 3 April 21st 06 09:35 PM
Forcing Columns to Next Page [email protected] Excel Discussion (Misc queries) 1 July 12th 05 11:33 PM


All times are GMT +1. The time now is 02:54 PM.

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"