Can Excel Send Desktop Alerts When a Cell Changes Color?
Question details
The user wants to know if Excel can trigger a desktop notification when conditional formatting changes a cell's color, particularly when the workbook is closed.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Monitoring specific data conditions and conditional formatting updates in an Excel workbook.
- Observed behavior
- Excel cannot monitor a closed workbook or display native desktop notifications when a cell changes color.
To set up alerts for a closed workbook, ensure your Excel file is saved to a cloud service like OneDrive for Business or SharePoint, and format your target data as a Table.
Use Power Automate for Cloud-Stored Workbooks
Set up Microsoft Power Automate to monitor cloud-stored Excel files and send notifications even when the workbook is closed.
Since Excel requires the application to be open to run macros or evaluate formulas, you must rely on an external automation tool to monitor closed files.
Power Automate can read Excel tables stored in the cloud and send desktop or email notifications based on the data values that trigger your color changes.
Save your Excel workbook to OneDrive for Business or SharePoint Online. Select your data range, go to 'Insert', and click 'Table' to format it as a recognized data table.
Log in to Microsoft Power Automate online. Click 'Create' and choose 'Automated cloud flow'. Select the trigger 'When a row is created or modified' under the Excel Online (Business) connector.
Configure the trigger by selecting your cloud location, document library, file, and table name. Add a 'Condition' step to check if the specific column's data value matches the criteria that would normally trigger your conditional formatting.
In the 'If yes' branch of your condition, click 'Add an action'. Search for 'Notifications' and select 'Send me a mobile notification' or choose an email/Teams action to alert you when the criteria are met.

Understanding Native VBA Limitations
Using VBA macros to generate alerts is only effective when the Excel workbook remains actively open.
Switch to WPS Office for a Powerful, Free Spreadsheet Experience
While automated background alerts for closed files require advanced cloud ecosystems, WPS Office provides a lightweight, highly compatible, and completely free alternative for your everyday spreadsheet monitoring, conditional formatting, and data analysis needs.
- 1. Download and install: Get WPS Office for free from the official website and install it on your device in minutes.
- 2. Open your files: Launch WPS Spreadsheets and open your existing .xlsx workbooks with zero formatting loss.
- 3. Apply formatting: Use the built-in conditional formatting tools under the Home tab to visually track critical data changes.

Frequently Asked Questions
Can VBA trigger an email alert when a cell changes color?
Yes, but only if the workbook is open. A VBA script can monitor data updates using the Worksheet_Change event and integrate with Outlook to send an email. It cannot run if the file is closed.
Does Excel conditional formatting directly trigger VBA events?
No, a change in conditional formatting itself does not trigger a VBA change event. You must monitor the actual cell value or formula result that causes the formatting to change.
How do I get notifications from a closed Excel file?
You cannot get native notifications from a closed Excel file. You must use an external service like Microsoft Power Automate connected to a workbook stored in SharePoint or OneDrive to monitor data changes.




