Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Mental Block! - Event Change Conditional Formatting
Please put me out my misery folkes.
I have a range of data of which I want to conditional format the numbers in columns G to L inclusive (yes the columns also contain text). I want to do something along the lines of :- Private Sub Worksheet_SelectionChange(ByVal Target As Range) Target = Columns("G:L") If Target.Value < 1 Then Selection.Font.ColorIndex = 3 End If End Sub I know this syntax is wrong but hopefully it shows you what I'm after.I know I will have to add an IsNumber in there also, but my main question is how you reference the Target to what you want it to be. thanks folkes. Donna |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Conditional formatting does not change when values change. ?? | Excel Worksheet Functions | |||
mental block | Excel Worksheet Functions | |||
Mental block | New Users to Excel | |||
block event | Excel Programming | |||
Event for conditional formatting? | Excel Programming |