Skip to main content
 

How to monitor cell changes in Excel?

Author: Xiaoyang Last Modified: 2024-08-08

How could you monitor a worksheet cells if the data is changed in Excel? This may be help you to identify the changed cells as quickly as you can. This article, I will talk about some interesting methods to deal with this task in Excel.

Monitor cell changes in Excel with Track Changes function

Monitor cell changes in Excel with VBA code


arrow blue right bubble Monitor cell changes in Excel with Track Changes function

Excel has a useful Track Changes feature, it can help you to mark the changed cells, please do as follows:

1. Click Review > Track Changes > Highlight Changes, see screenshot:

click Highlight Changes feature

2. In the Highlight Changes dialog box, do the following operations:

(1.) Check Track changes while editing. This also shares your workbook.

(2.) Under the Highlight which changes section, specify the When, Who, and Where items as you need.

(3.) At last, check Highlight changes on screen option.

set options in the Highlight Changes dialog box

3. After finishing the settings, click OK button, now, when you change any cell values in the specified cells, a border with a triangular icon is around the changed cells, see screenshot:

when change any cell value, it will be tracked

Note: With this method, your workbook will become a shared workbook.



arrow blue right bubble Monitor cell changes in Excel with VBA code

The following VBA code also can help you to monitor cell values when they are changed, please do as this:

1. Right click the sheet tab which you want to monitor cell changes, and choose View Code from the context menu, in the opened Microsoft Visual Basic for Applications window, please copy and paste the following VBA code into the Module:

VBA code: Monitor cell changes in Excel worksheet:

Private Sub Worksheet_Change(ByVal Target As Range)
'Updateby Extendoffice 20160728
    Dim xrng As Range
    Set xrng = Range("A1:E7")
    If Not Application.Intersect(xrng, Range(Target.Address)) _
           Is Nothing Then
        MsgBox "Cell " & Target.Address & " has changed.", vbInformation, "Kutools for Excel"
    End If
End Sub

click view code to open the code window, then paste the code

Note: In the above code, A1:E7 is the data range that you want to monitor if cell changes, you can change it to your need.

2. Then save and close this code window, and now, when you change the cell value in the specified range, a message box will pop out to remind you, see screenshot:

when change the cell value, a message box will pop out to remind

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!