![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Location: Clearwater, FL
Posts: 46
|
Does anyone know where I can find a list of valid codes for colors in Excel? Either the 2-digit number or the long text name would be fine.
Thanks for any help! |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
Have a look under VBA help for ColorIndex.
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Location: Clearwater, FL
Posts: 46
|
I tried that. There's nothing under "colorindex" either in the Index or under Find.
|
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
Hmm, i just found it OK. Try typing in colorindex in the VBA code window, highlighting it and pressing F1. If you don't get anything you might not have the VBA help files installed.
|
|
|
|
|
|
#5 |
|
New Member
Join Date: Mar 2002
Location: Clearwater, FL
Posts: 46
|
Well, whaddya know, it worked. Now how come when I used the help index to search for "colorindex", it did NOT find that? I never thought of using F1 on the highlighted value.
Thanks! |
|
|
|
|
|
#6 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
Personally, I never use the index- either F1 or the Find tab of the help form.
|
|
|
|
|
|
#7 |
|
New Member
Join Date: Mar 2002
Location: Clearwater, FL
Posts: 46
|
good idea. I'll use F1 from now on. The Find didn't find it either for me.
|
|
|
|
|
|
#8 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
You're right, it doesn't appear unless, under the Contents tab, you're referencing Microsoft Excel VB.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|