Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel 2007, VBA/VB6: Read the different colors defined for a workbook...

Hi everybody,

i have to make my own color picker in VBA/VB6... There are three sections in
the standard color pickers: Theme colors, default colors and recent
used/user defined colors. I puzzled out that theme colors are stored at for
e.g. Workbook.Theme.ThemeColorScheme(1..10).RGB - this gives me the 10 main
colors. Beside that there are five tinted/shaded colors for each main
color - it seems that this colors are not stored anywhere, thus they have to
be calculated based on the main color, for e.g.: Convert RGB to HSL: L=L- 5%
or L=L +50%, convert HSL back to RGB - is this really they way to go or have
i missed something? Next question: The recent used/user defined colors
seemed to be stored with the workbok, you can have different recent
used/user defined colors for each workbook - where exactly are the infos
(number of colors defned, RGB values) stored in the workbook/object modell?
Thanks for any hint!

--

Bis dann, Bomi


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
Excel 2007 - copy colors from another workbook sam Excel Discussion (Misc queries) 1 February 28th 11 07:24 AM
excel 2003 to 2007 colors George Applegate[_2_] Excel Discussion (Misc queries) 0 June 16th 09 01:29 PM
Colors in Excel 2007 Jon Dow[_2_] Excel Discussion (Misc queries) 1 September 17th 08 09:45 PM
excel 2007 colors do not match excel 2003 colors. Tom's Travails' Excel Discussion (Misc queries) 0 July 17th 08 01:56 AM
Excel Gurus = want a macro in 1 workbook to get info from another workbook = Read please harry Excel Programming 5 December 20th 03 03:26 AM


All times are GMT +1. The time now is 03:45 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"