Hi all,
I'm using the macro below to detect cell changes in a column. If a change is detected, the address of the change is used to build an array of related rows to which I want to apply another macro. This is working beautifully when I either enter a value in a cell or clear the contents of a cell. However, when I select two cells in the column and clear their contents, Excel does not detect a change and there doesn't apply the second macro. Does anyone have a creative solution to force Excel to recognize this scenario as a cell change? Thanks in advance!
I'm using the macro below to detect cell changes in a column. If a change is detected, the address of the change is used to build an array of related rows to which I want to apply another macro. This is working beautifully when I either enter a value in a cell or clear the contents of a cell. However, when I select two cells in the column and clear their contents, Excel does not detect a change and there doesn't apply the second macro. Does anyone have a creative solution to force Excel to recognize this scenario as a cell change? Thanks in advance!
Code:
Sub Worksheet_Change(ByVal target As Range)
If Not Application.Intersect(target, Range("table_1[Confirmation]")) Is Nothing Then
Call newarray(target)
End If
End Sub