Execute Macro On Calculated Cell change
Closed
Notar
-
May 2, 2010 at 03:17 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - May 3, 2010 at 09:44 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - May 3, 2010 at 09:44 AM
Related:
- Which event is triggered when a cell value change in excel using vba
- Excel online vba - Guide
- Vba excel mac - Guide
- Excel vba timer - Guide
- Number to words in excel formula without vba - Guide
- Excel cell color formula - Guide
4 responses
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
May 2, 2010 at 06:38 PM
May 2, 2010 at 06:38 PM
My bad. You did mention formula update, but I had missed it. '
This will not work as value changed by formula will not trigger it
This will trigger if a value is updated by formula
Private Sub Worksheet_Calculate()
End Sub
How ever looking at your example,I would say the you need to trigger the source of change
Lets say that your C125 formula is A125 + B125
Then you trigger your recalc routine when A125 or b125 changes
This will not work as value changed by formula will not trigger it
This will trigger if a value is updated by formula
Private Sub Worksheet_Calculate()
End Sub
How ever looking at your example,I would say the you need to trigger the source of change
Lets say that your C125 formula is A125 + B125
Then you trigger your recalc routine when A125 or b125 changes