Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I limit the highlighting for the below code so that for the
Target.EntireRow code section that it only highlights the row from column A to I. And for the Target.EntireColumn code section so that only highlights the row from row 3 to 10. With Target.EntireRow .FormatConditions.Add Type:=xlExpression, Formula1:="TRUE" .FormatConditions(1).Interior.ColorIndex = 37 End With With Target.EntireColumn .FormatConditions.Delete .FormatConditions.Add Type:=xlExpression, Formula1:="TRUE" .FormatConditions(1).Interior.ColorIndex = 37 End With With Target .FormatConditions.Delete .FormatConditions.Add Type:=xlExpression, Formula1:="TRUE" .FormatConditions(1).Interior.ColorIndex = 36 Thanks Bill |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
We, Tom Ogilvy and I, have answered this in your previous post. You only
need to ask once. -- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Bill" wrote in message ... How do I limit the highlighting for the below code so that for the Target.EntireRow code section that it only highlights the row from column A to I. And for the Target.EntireColumn code section so that only highlights the row from row 3 to 10. With Target.EntireRow .FormatConditions.Add Type:=xlExpression, Formula1:="TRUE" .FormatConditions(1).Interior.ColorIndex = 37 End With With Target.EntireColumn .FormatConditions.Delete .FormatConditions.Add Type:=xlExpression, Formula1:="TRUE" .FormatConditions(1).Interior.ColorIndex = 37 End With With Target .FormatConditions.Delete .FormatConditions.Add Type:=xlExpression, Formula1:="TRUE" .FormatConditions(1).Interior.ColorIndex = 36 Thanks Bill |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Highlighting | Excel Discussion (Misc queries) | |||
Highlighting blanks via GO TO SPECIAL is not highlighting blank cells - HELP, I'm totally stuck. | Excel Discussion (Misc queries) | |||
Highlighting changes | Excel Discussion (Misc queries) | |||
Nested IF limit or Open parentheses limit | Excel Discussion (Misc queries) | |||
Highlighting | Excel Programming |