Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default naming colors

OK! Thanks to you all, I've made some of my colors custom colors when a
document or opens. Now what I would like to do is name these colors.
Here is what I've done so far in excel 2003:

Private Sub Workbook_Open()

ThisWorkbook.Colors(5) = RGB(60, 70, 100)
ThisWorkbook.Colors(32) = RGB(60, 70, 100)
ThisWorkbook.Colors(39) = RGB(199, 206, 215)
ThisWorkbook.Colors(37) = RGB(231, 233, 236)
ThisWorkbook.Colors(20) = RGB(238, 239, 243)
ThisWorkbook.Colors(34) = RGB(238, 239, 243)

End Sub

Now what I would like to do is name each color. Before, when one moused
over #5 it had alt text that said blue, the others were named light
torquoise, etc.... I'd like each of my new custom colors to have a name
when you mouse over it. Like, "My Company Font" or "My Company
Background.

Any thoughts????

Thanks,

Sam

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default naming colors

Yeah, can't be done.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"samearle" wrote in message
oups.com...
OK! Thanks to you all, I've made some of my colors custom colors when a
document or opens. Now what I would like to do is name these colors.
Here is what I've done so far in excel 2003:

Private Sub Workbook_Open()

ThisWorkbook.Colors(5) = RGB(60, 70, 100)
ThisWorkbook.Colors(32) = RGB(60, 70, 100)
ThisWorkbook.Colors(39) = RGB(199, 206, 215)
ThisWorkbook.Colors(37) = RGB(231, 233, 236)
ThisWorkbook.Colors(20) = RGB(238, 239, 243)
ThisWorkbook.Colors(34) = RGB(238, 239, 243)

End Sub

Now what I would like to do is name each color. Before, when one moused
over #5 it had alt text that said blue, the others were named light
torquoise, etc.... I'd like each of my new custom colors to have a name
when you mouse over it. Like, "My Company Font" or "My Company
Background.

Any thoughts????

Thanks,

Sam



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default naming colors

If they can be named, I must think they can be renamed. Somewhere.

Anyone?

When I did the above and changed them to custom colors, it named each -
"Color Scheme"

So there must be a way!

Thanks,

S.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default naming colors

They can't be named, that is something within Excel. It is not exposed in
any way, shape of form, so you cannot rename them.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"samearle" wrote in message
oups.com...
If they can be named, I must think they can be renamed. Somewhere.

Anyone?

When I did the above and changed them to custom colors, it named each -
"Color Scheme"

So there must be a way!

Thanks,

S.



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
All colors in Office documents are grayscale, how do I see colors JT Excel Discussion (Misc queries) 1 February 2nd 10 02:13 PM
Used drawing colors in shapes....lost default colors for "Fill Col Lai704 Excel Discussion (Misc queries) 1 August 20th 08 04:45 AM
Worksheet formatting (fill colors & text colors) disappeared sweettooth Excel Discussion (Misc queries) 2 June 24th 08 01:16 AM
Lost highlighting and font colors; background colors on web pages Jan in Raleigh Excel Discussion (Misc queries) 2 July 31st 07 09:10 PM
Can't format font colors or cell fill-in colors canoeron Excel Discussion (Misc queries) 3 August 22nd 05 11:46 PM


All times are GMT +1. The time now is 12:29 AM.

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"