Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to have more than 3 formulas for
conditional formatting? If you have a solution can you please post in this forum, I dont have access to most sites from work. :-( Thanks, |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
you could write some vba code to test the conditions you
are looking for. Something like following may work for you: Private Sub Worksheet_SelectionChange(ByVal Target As Range) With ActiveCell Select Case .Value Case "david" With .Interior .ColorIndex = 6 .Pattern = xlSolid End With .Font.ColorIndex = 2 Case "john" With .Interior .ColorIndex = 3 .Pattern = xlSolid End With .Font.ColorIndex = 2 Case "steve" With .Interior .ColorIndex = 5 .Pattern = xlSolid End With .Font.ColorIndex = 2 End Select End With End Sub I have only shown three conditions but you should be able to add more. Hope helpful -----Original Message----- Is there a way to have more than 3 formulas for conditional formatting? If you have a solution can you please post in this forum, I dont have access to most sites from work. :-( Thanks, . |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
as a built in function, i am afraid you may be stuck. you might try these sites(maybe) for more help http://www.contextures.com/xlCondFormat01.html http://www.mvps.org/dmcritchie/excel/condfmt.html if not then you may be stuck with writing code using select case maybe. -----Original Message----- Is there a way to have more than 3 formulas for conditional formatting? If you have a solution can you please post in this forum, I dont have access to most sites from work. :-( Thanks, . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formatting cells in a column with conditional formatting? | Excel Discussion (Misc queries) | |||
Protect Cell Formatting including Conditional Formatting | Excel Discussion (Misc queries) | |||
conditional Formatting based on cell formatting | Excel Worksheet Functions | |||
conditional Formatting based on cell formatting | Excel Worksheet Functions | |||
Conditional Formatting that will display conditional data | Excel Worksheet Functions |