Private Sub Worsheet_SelectionChange(ByVal Target As Range)
If Target.Address = "C1" then
Range("A1").Interior.ColorIndex = 5
Else
(A1) now = blue
I think that my question was nog described very wel: I want it to be variable: Means: When I click om
(C1)-->(A1)=Blue
(C2)-->(A2)=Blue -->(C1)turns White
(C3)-->(A3)=Blue -->(C1)&(C2)turn White
etc... etc... etc...
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column <> 3 Then
Columns(1).Interior.ColorIndex = 0
Else
Columns(1).Interior.ColorIndex = 0
Range("A" & Target.Row).Interior.ColorIndex = 5
End If
End Sub
Sorry... I have the Dutch version of F1... that realy sux, but like I said I'm learning much from guys like you.. Just bussy for 2 months..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.