I want my macro to activate ONLY when a calculated cell in a SPECIFIED range changes. At the moment the macro activates whenever any cell on the sheet is calculated.
For example, how would I alter the following code so that Macro1
only activates when a cell in Range(A1:A5)
changes due to a calculation, and not when cells in any other ranges are recalculated? Any guidance would be much appreciated.
Private Sub Worksheet_Calculate()
Macro1
End Sub