J
jladika
this formula worked up to yesterday. i had a power surg and now it onl
give me one color.
Private Sub LCase(Target.Val Target As Range)
Dim myColor As Long
If Target.Cells.Count > 1 Then Exit Sub
If Intersect ( Target, Me.Range("d:d")) Is Nothing Then Exit Sub
Select Case LCase(Target.Value)
Case Is = "a" : myColor = 33
Case Is = "b" : myColor = 38
Case Is = "c" : myColor = 20
Case Is = "e" : myColor = 35
Case Is = "f" : myColor = 40
Case Is = "g" : myColor = 8
Case Else
myColor =x1None
End selection
Target.Interior.ColorIndex = myColor
End Sub
please show me why it only makes it one color? I need it to do al
agan. (it only copies b= 38
give me one color.
Private Sub LCase(Target.Val Target As Range)
Dim myColor As Long
If Target.Cells.Count > 1 Then Exit Sub
If Intersect ( Target, Me.Range("d:d")) Is Nothing Then Exit Sub
Select Case LCase(Target.Value)
Case Is = "a" : myColor = 33
Case Is = "b" : myColor = 38
Case Is = "c" : myColor = 20
Case Is = "e" : myColor = 35
Case Is = "f" : myColor = 40
Case Is = "g" : myColor = 8
Case Else
myColor =x1None
End selection
Target.Interior.ColorIndex = myColor
End Sub
please show me why it only makes it one color? I need it to do al
agan. (it only copies b= 38