Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default WHere can I find a list of ColorIndex colors?

When I use .font.colorindex = 5 for example, I put the number
randomly.

Is there a way to find out what numbers represent which color?

Thanks.

How come when I type *.font.* I don't see a list of values I can pu
like size or colorindex, etc.

Thanks

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default WHere can I find a list of ColorIndex colors?

Hi
have a look at
http://www.mvps.org/dmcritchie/excel/colors.htm

-----Original Message-----
When I use .font.colorindex = 5 for example, I put the

numbers
randomly.

Is there a way to find out what numbers represent which

color?

Thanks.

How come when I type *.font.* I don't see a list of

values I can put
like size or colorindex, etc.

Thanks.


---
Message posted from http://www.ExcelForum.com/

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default WHere can I find a list of ColorIndex colors?

As for your second question, some objects handle the autocomplete an
others don't. For example, typing:

Range("A1").Font.

will give you a list of options, while:

cells(1,1).Font.

will not.



--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default WHere can I find a list of ColorIndex colors?

Christiane,
Put this code into a macro and run it on a new empty worksheet. It will give
you a colour sheet of the whole rang. They are numbered from 0 to 56 and
some are quite similar to each other.
Steve

For n = 0 To 56
Range("A" & Trim$(Str$(n + 1))) = n
Range("B" & Trim$(Str$(n + 1))) = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Rows(Trim$(Str$(n + 1)) & ":" & Trim$(Str$(n + 1))).Select
Selection.Font.ColorIndex = n
Next n
Columns("A:B").Select
Selection.Columns.AutoFit
Range("A1").Select


Christiane wrote in message
...
When I use .font.colorindex = 5 for example, I put the numbers
randomly.

Is there a way to find out what numbers represent which color?

Thanks.

How come when I type *.font.* I don't see a list of values I can put
like size or colorindex, etc.

Thanks.


---
Message posted from http://www.ExcelForum.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
Autofilter list arrow colors Loris Excel Discussion (Misc queries) 4 January 29th 09 08:34 PM
Drop-down list with same character but in different colors coronettan Excel Worksheet Functions 0 November 26th 07 12:27 PM
how do i find the colors in excel 2003 beanie17 Setting up and Configuration of Excel 3 February 22nd 07 09:51 PM
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM
Validation List, Automatic Colors YanYan Excel Worksheet Functions 2 August 16th 05 03:02 AM


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