Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Fill.backcolor and forecolor do not consistent in Chart and Shapes

Hi there,

I have been trying to create a custom legend section of a bar chart. I
have a list of backcolor, forecolor and pattern for each
seriescollection.

The legend will be created as shapes automatically and formatted as
correspondent series of the chart.

Everything works fine except the backcolor and forecolor. They all use
the same schemecolor values but appear differently.

For instance:
seriescollection(1).fill.backcolor.schemecolor = 10
shapes(1).fill.backcolor.schemecolor = 10

The rest is just similar, but they display different color.

I double checked by using

debug.print seriescollection(1).fill.backcolor.schemecolor
debug.print shapes(1).fill.backcolor.schemecolor

Results are same as assignments

Color palette has been reset too.

Anyone got any clue?

Very appreciate ;)

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Fill.backcolor and forecolor do not consistent in Chart and Shapes

It has been ages and no reply, :(

I have found that

shapes(1).fill.backcolor.schemecolor =
seriescollection(1).fill.backcolor.schemecolor + 7

Supprise, I dont know why MS does that.

*** Sent via Developersdex http://www.developersdex.com ***
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
How do you color fill flow shapes in your flowchart Cindi Gordon Excel Discussion (Misc queries) 1 February 9th 09 07:29 PM
Drawing shapes in a chart ChadTarget Charts and Charting in Excel 1 September 21st 06 09:07 AM
shapes caption on chart nk Excel Programming 0 April 29th 05 04:31 PM
BackColor, Forecolor, Bold, and Font Size for ComboBox in Commandbar SZ Excel Programming 11 January 27th 05 06:41 PM
BackColor, Forecolor, Bold, and Font Size for ComboBox in Commandbar SZ Excel Programming 1 January 24th 05 11:40 AM


All times are GMT +1. The time now is 02:42 AM.

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"