LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default VBA Code for Excel Colours

In VBA help, type 'PatternColorIndex Property' in the search box then click
on it when the menu comes up. It displays the palette with the corresponding
numbers.

"Dickie Worton" wrote:

Hi,

I am trying to construct quite a complete worksheet that will utilise the
VBA code I have found elsewhere in the discussion groups and which will allow
me to have more than three instances of conditional formatting per cell (five
is my aim!)

I know which five colours I need but don't know how to identify the VBA code
for these colours that I will need to use. Can anyone tell me how I can
identify the code for these colours, please? I though that the worksheet
function CELL("color") might do this but it doesn't work as it just returns a
zero value if the cell is shaded.

This will at least give me a starting point for what I would wish to move on
to (look out for further postings when I get to that!)

Many thanks in anticipation,

Dickie



 
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 can I customise colours used in charts and keep those colours. LJ Charts and Charting in Excel 3 May 20th 10 01:50 PM
How to save one of the MORE COLOURS in the THEME COLOURS? Wulfy Excel Discussion (Misc queries) 0 August 18th 09 10:25 AM
excel colours Nick Excel Discussion (Misc queries) 5 December 6th 05 10:19 AM
Excel 2003 font colours and cell colours bretta Excel Discussion (Misc queries) 1 April 17th 05 03:45 AM
Is it posible to set up some code to Filter Worksheet on Colours Frederick Excel Programming 4 November 23rd 03 06:52 PM


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