DavidRains
New Member
- Joined
- Aug 19, 2018
- Messages
- 7
I have a column (named "Complete") in an Excel Table that is populated with a formula. I am trying to implement code to detect if a formula value in the column has changed, and if so, to identify the address that changed so the code can perform an action.
From another thread in this forum I found code that identifies changes in a singe cell, and it works well to indicate that the formula result in that cell changed:
Private Sub Worksheet_Calculate()
Static oldval
If Range("C1").Value <> oldval Then
oldval = Range("C1").Value
'
'rest of your code here
'
End If
End SubBut I am having difficulty adapting this code to check for changes in the entire Table column instead of in a single cell, and to then identify which cell has changed.
Any help would be greatly appreciated.
From another thread in this forum I found code that identifies changes in a singe cell, and it works well to indicate that the formula result in that cell changed:
Private Sub Worksheet_Calculate()
Static oldval
If Range("C1").Value <> oldval Then
oldval = Range("C1").Value
'
'rest of your code here
'
End If
End SubBut I am having difficulty adapting this code to check for changes in the entire Table column instead of in a single cell, and to then identify which cell has changed.
Any help would be greatly appreciated.