A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

2007 column chart theme colors via VBA



 
 
Thread Tools Display Modes
  #1  
Old March 5th, 2009, 04:29 PM posted to microsoft.public.excel.charting
Intuitive Analyst
external usenet poster
 
Posts: 8
Default 2007 column chart theme colors via VBA

I'm creating a column chart with 20 pairs of series. Because there are so
many series (2x20==40), I've done it quickly with VBA. What I haven't figured
out is how to use "theme colors" to set the fill color for each series with
VBA. Ideally each pair would use the same color but with two different shades
(is that even the correct term?). Is there a guide somewhere that explains
how to work with theme colors in this setting? I suppose I'm not necessarily
tied to theme colors, but it would be nice (so users could change the theme,
I suppose). Thanks in advance!
  #2  
Old March 5th, 2009, 05:39 PM posted to microsoft.public.excel.charting
Shane Devenshire
external usenet poster
 
Posts: 845
Default 2007 column chart theme colors via VBA

Hi,

Try this for a starting location and look under the Chart topic

http://msdn.microsoft.com/en-us/library/bb332345.aspx

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Intuitive Analyst" wrote:

I'm creating a column chart with 20 pairs of series. Because there are so
many series (2x20==40), I've done it quickly with VBA. What I haven't figured
out is how to use "theme colors" to set the fill color for each series with
VBA. Ideally each pair would use the same color but with two different shades
(is that even the correct term?). Is there a guide somewhere that explains
how to work with theme colors in this setting? I suppose I'm not necessarily
tied to theme colors, but it would be nice (so users could change the theme,
I suppose). Thanks in advance!

  #3  
Old March 5th, 2009, 06:03 PM posted to microsoft.public.excel.charting
Intuitive Analyst
external usenet poster
 
Posts: 8
Default 2007 column chart theme colors via VBA

Thanks, that's a neat chart but I'm really looking for some guidance as to
where in the object model I need to be and what a best practice might be.

"Intuitive Analyst" wrote:

I'm creating a column chart with 20 pairs of series. Because there are so
many series (2x20==40), I've done it quickly with VBA. What I haven't figured
out is how to use "theme colors" to set the fill color for each series with
VBA. Ideally each pair would use the same color but with two different shades
(is that even the correct term?). Is there a guide somewhere that explains
how to work with theme colors in this setting? I suppose I'm not necessarily
tied to theme colors, but it would be nice (so users could change the theme,
I suppose). Thanks in advance!

  #4  
Old March 6th, 2009, 02:03 PM posted to microsoft.public.excel.charting
Jon Peltier
external usenet poster
 
Posts: 5,018
Default 2007 column chart theme colors via VBA

The descriptions and examples behind this object model map are terribly
unhelpful, even my Microsoft standards. I have asked for more descriptive
descriptions and more relevant examples, and so have many other users, to no
avail.

I'm in the middle of a project that I can't finish without figuring this
out. Hopefully I'll have material for a blog post soon.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"Intuitive Analyst" wrote in
message ...
Thanks, that's a neat chart but I'm really looking for some guidance as to
where in the object model I need to be and what a best practice might be.

"Intuitive Analyst" wrote:

I'm creating a column chart with 20 pairs of series. Because there are so
many series (2x20==40), I've done it quickly with VBA. What I haven't
figured
out is how to use "theme colors" to set the fill color for each series
with
VBA. Ideally each pair would use the same color but with two different
shades
(is that even the correct term?). Is there a guide somewhere that
explains
how to work with theme colors in this setting? I suppose I'm not
necessarily
tied to theme colors, but it would be nice (so users could change the
theme,
I suppose). Thanks in advance!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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