ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Autorun a macro on change of cell value (having formula) (https://www.excelbanter.com/excel-worksheet-functions/121749-autorun-macro-change-cell-value-having-formula.html)

Ahuja

Autorun a macro on change of cell value (having formula)
 
I need to run a macro on change of values in a range having forumlas in
various cells. The below logic doesn't work unless the cursor is in the given
rangevalue

If Not Intersect(Target, Range("rangevalue")) Is Nothing Then
MsgBox "Cell has changed"
End If

Since my cells are having formulas, they change automatically with change in
other ref. cells.


All times are GMT +1. The time now is 08:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com