Solved. Code follows:
Code:
'///////////////////////////////////////////////////////////
'///////WorkSheet_Change - Highlight changed cells//////////
'///////////////////////////////////////////////////////////
Private Sub Worksheet_Change(ByVal Target As Range)
'Set range
Const WS_RANGE As String = "A12:AG100"
'Error handler
On Error GoTo ws_exit:
Application.EnableEvents = False
If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then
With Target
'Set cell fill color to yellow
.Interior.ColorIndex = 6
End With
End If
ws_exit:
Application.EnableEvents = True
End Sub
'//////////////////////END//////////////////////////////////
'///////////////////////////////////////////////////////////
'////////Clear_Changes -> Revert cell color to none/////////
'///////////////////////////////////////////////////////////
Sub Clear_Changes()
'Set range
Range("A12:AG100").Select
With Selection.Interior
'Set fill color to none for cell range
.Pattern = xlNone
End With
End Sub
'//////////////////////END//////////////////////////////////
'///////////////////////////////////////////////////////////
'////Clear_Selected_Cell -> Revert cell color to none//////
'///////////////////////////////////////////////////////////
Sub Clear_Selected_Cell()
With Selection.Interior
.Pattern = xlNone
End With
End Sub
'//////////////////////END//////////////////////////////////