VB script modification (continued from yesterday)
Also, the code from FSt1...
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Excel.Range, Cancel
As Boolean)
If Target.Value = "" Then
Target.Interior.ColorIndex = xlnone
Else
If Target.Value = 1 Or Target.Value = 2 Then
Target.Interior.ColorIndex = 3
Else
If Target.Value = 3 Or Target.Value = 4 Then
Target.Interior.ColorIndex = 4
End If
End If
End If
End Sub
....generates a Runtime error 13 - type mismatch on the line
If Target.Value = "" Then
I'll take a solution to either issue. Thanks again for all the help.
|