I want VBA to ignore "Worksheet_Change Function" when I just double click and exit the cell without any changes to cell value.
P.S. I've bellow code in Worksheet_Change to compare cell value to its previous value:
vNew = Range("cellChanged").value
Application.EnableEvents = False
Application.Undo
vOld = Range("cellChanged").value
Range("cellChanged").value = vNew
Application.EnableEvents = True
But in my VBA code, changing value of a cell leads to change in another cells. So, this code runs nested until I got error on Application.Undo.
Appreciate any help.