VBA code doesn’t run when cell is changed by a formula
To capture the changes by a formula you have to use the Worksheet_Calculate() event. To understand how it works, let’s take an example. Create a New Workbook. In Sheet1 Cell A1, put this formula =Sheet2!A1+1 Now In a module paste this code Public PrevVal As Variant Paste this in the Sheet Code area Private Sub … Read more