Anyone know the best method to filter the Worksheet_Calculate event such that code is executed only when the cell values of a certain range have changed, i.e. been re-calculated?
I noticed that no Target range is passed to this event function; so, I cannot find the range by the same method used for Worksheet_Change. Also I cannot use Worksheet_Change because my Trigger Range is not changed by the user or by VBA. (My Trigger Range is changed by Excel links.)
One way I know I can do it, is by saving a second range with static values of the last numerical value in my Trigger Range. I could then do a range compare on Worksheet_Calculate to see if the numbers have been updated. However, this seems awkward and prone to error; so, I thought someone might know a better method. Thanks for your help!!
-Mike
I noticed that no Target range is passed to this event function; so, I cannot find the range by the same method used for Worksheet_Change. Also I cannot use Worksheet_Change because my Trigger Range is not changed by the user or by VBA. (My Trigger Range is changed by Excel links.)
One way I know I can do it, is by saving a second range with static values of the last numerical value in my Trigger Range. I could then do a range compare on Worksheet_Calculate to see if the numbers have been updated. However, this seems awkward and prone to error; so, I thought someone might know a better method. Thanks for your help!!
-Mike