

In the window that opens, select Worksheet from the left drop-down menu and Change from the right drop-down menu.įor more info on creating macros, view our tutorial on installing a macro in Excel.Įxcel will actually run the code that we input here each time a cell within the worksheet is changed, regardless of which cell is changed.


Go to the VBA Editor (Alt + F11) and double-click the name of the spreadsheet that contains the cell that will change or just right-click the worksheet tab and click View Code. This works on a specific cell and is the easiest method to use. Notes Run Macro When a Cell Changes (Method 1) Run Macro when a Cell in a Range of Cells is Changed Run a macro in Excel when a specific cell is changed this also covers when a cell within a range of cells is changed or updated.
