How to Automatically Send an Email from Excel Based on a Cell Value
Question details
The user wants to automatically trigger and send an email from Excel when a specific cell value changes or meets a certain condition, as standard formulas only display clickable links.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Automating email notifications based on spreadsheet data updates or specific cell values.
- Observed behavior
- Standard Excel formulas like HYPERLINK only display an email link but cannot automatically generate and send messages.
Ensure that your organization's security policies permit automated emails and that you have access to a configured Outlook account if using VBA or Power Automate.
Use VBA to Send an Email Automatically
Best for desktop users who want a built-in macro to trigger emails when a specific cell's value changes.
VBA (Visual Basic for Applications) allows you to write an event-driven macro that listens to worksheet changes and communicates with the Outlook application to send emails in the background.
Go to the Developer tab and click 'Visual Basic', or press ALT + F11 on your keyboard.
In the Project Explorer on the left, double-click the specific worksheet (e.g., Sheet1) where you want to monitor the cell value.
Select 'Worksheet' from the left dropdown menu and 'Change' from the right dropdown menu to generate the Worksheet_Change subroutine.
Write your VBA script to check if 'Target.Address' matches your designated cell. If the value meets your criteria, use 'CreateObject("Outlook.Application")' to draft and send the email.
Save your workbook as an Excel Macro-Enabled Workbook (.xlsm) so the script can run automatically in the future.

Automate Emails with Power Automate
Ideal for cloud-stored workbooks (OneDrive or SharePoint) to trigger emails without writing any code.
Try WPS Office for Seamless Spreadsheet Management
While advanced cloud automation like Power Automate is tied to Microsoft 365, WPS Office offers a lightweight, highly compatible alternative for everyday spreadsheet tasks. It supports complex formulas, conditional formatting, and offers excellent compatibility with Microsoft formats.
- 1. Download WPS Office: Visit the official WPS website to download and install the free suite.
- 2. Open Your Workbook: Launch WPS Spreadsheet and open your existing Excel files directly without conversion.
- 3. Manage Data Easily: Use the familiar interface to edit formulas and manage your workflows seamlessly.

Frequently Asked Questions
Can I send an email from Excel using just a formula?
No, standard Excel formulas cannot automatically send an email. The HYPERLINK formula can create a 'mailto:' link that opens a draft email when clicked, but you must manually click 'Send'. Automation requires VBA, Power Automate, or Office Scripts.
Why is my VBA code not sending the email automatically?
Your macro might not be attached to an event trigger. To run automatically based on a cell value, the code must be placed inside a Worksheet_Change event on the specific sheet, rather than in a standard module. Additionally, ensure that macros are enabled in your Trust Center settings.
Can I send emails to different addresses based on cell values?
Yes. Both VBA and Power Automate allow you to dynamically reference other cells in the same row. You can use an email address stored in a specific column to determine the recipient for the automated message.
Does WPS Spreadsheet support VBA macros for automation?
Yes, advanced professional and business editions of WPS Office support VBA macros. If you are using a compatible version, you can run similar VBA scripts to automate tasks directly within WPS Spreadsheet.




