Hi All,
i have the below VBA which only runs when the cell is updated. there is a formula that updates the cell but the VBA is not picking this up as a change. how do i get the VBA to run automatically so i dont have to tab inside each cell to make the VBA run. preferably fully automatic but if its easy can be a change of tab etc.
any help would be appreciated.
i have the below VBA which only runs when the cell is updated. there is a formula that updates the cell but the VBA is not picking this up as a change. how do i get the VBA to run automatically so i dont have to tab inside each cell to make the VBA run. preferably fully automatic but if its easy can be a change of tab etc.
any help would be appreciated.
Code:
Private Sub Worksheet_Change(ByVal Target As Range) If Target.Column = 9 Or Target.Column = 13 Then 'Column I or column M
If UCase(Target) = "YES" Then Target.Offset(0, -1).ClearContents
End If
End Sub