I have a simple means of highlighting each changed cell in a worksheet:-
What I would like to do is to have the code recognise which COLUMN is being changed and to apply a different set of Font & Fill colours accordingly, maybe via a CASE statement.
Your help is appreciated.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
' Each time a cell is changed the FILL & FONT colours are automatically
' changed as per following settings
Target.Font.ColorIndex = 1
' 1-Black, 2-White
Target.Interior.ColorIndex = 6
' 3-Red, 4-Green, 5-Dk Blue, 6-Yellow
End Sub
What I would like to do is to have the code recognise which COLUMN is being changed and to apply a different set of Font & Fill colours accordingly, maybe via a CASE statement.
Your help is appreciated.