Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default more than 3 conditional formats

Is there a way of adding more than 3 conditional formats?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default more than 3 conditional formats

Presumably you don't want to upgrade to XL2007 ...

Bob Phillips has a free download, CFPlus, which gives you up to 30
conditional formats per cell, available he

http://www.xldynamic.com/source/xld.....Download.html

Hope this helps.

Pete

On Oct 13, 9:28*pm, rory_r wrote:
Is there a way of adding more than 3 conditional formats?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default more than 3 conditional formats

How many more?

Bob Phillips has an add-in that allows 30 CF conditions.

http://www.xldynamic.com/source/xld.....Download.html

Or you could use event code.

Private Sub Worksheet_Change(ByVal Target As Range)
Dim Num As Long
Dim rng As Range
Dim vRngInput As Variant
Set vRngInput = Intersect(Target, Range("D:D"))
If vRngInput Is Nothing Then Exit Sub
On Error GoTo endit
Application.EnableEvents = False
For Each rng In vRngInput
'Determine the color
Select Case UCase(rng.Value)
Case Is = "A": Num = 10 'green
Case Is = "B": Num = 1 'black
Case Is = "C": Num = 5 'blue
Case Is = "D": Num = 7 'magenta
Case Is = "E": Num = 46 'orange
Case Is = "F": Num = 3 'red
End Select
'Apply the color
rng.Interior.ColorIndex = Num
Next rng
endit:
Application.EnableEvents = True
End Sub

This is sheet event code. Right-click on the sheet tab and "View Code".

Copy/paste the above into that module. Edit the range of "D:D" and the
criteria to suit.

Alt + q to return to the Excel window.


Gord Dibben MS Excel MVP


On Mon, 13 Oct 2008 13:28:06 -0700, rory_r
wrote:

Is there a way of adding more than 3 conditional formats?


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
Conditional formats- paste special formats? jcarney Excel Discussion (Misc queries) 1 November 1st 07 06:37 PM
paste conditional formats as formats leo Excel Discussion (Misc queries) 2 July 5th 07 10:06 AM
4 conditional formats? Amanda Excel Worksheet Functions 4 September 1st 06 07:58 PM
Four Conditional Formats? stevepain Excel Discussion (Misc queries) 4 July 27th 05 04:24 PM
Any way to have more than three conditional formats? Bill Brehm Excel Worksheet Functions 1 December 7th 04 09:37 AM


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