Hi all,
I have a code that runs when cells are changed in my spreadsheet
However some of the cells are formula cells and these don't get their colour changed when the value returned by the formula changes (e.g. when a date is recalculated).
Is there any way around this?
Thanks
Tom
I have a code that runs when cells are changed in my spreadsheet
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B10:H5010")) Is Nothing Then Target.Interior.Color = rgbYellow
End Sub
However some of the cells are formula cells and these don't get their colour changed when the value returned by the formula changes (e.g. when a date is recalculated).
Is there any way around this?
Thanks
Tom