Why did my Excel macro stop sending emails?
Microsoft’s feature comparison (updated September 23, 2026) lists these as “Not supported” in the new Outlook:
- VBA Macro. Outlook’s own macros don’t run.
- COM add-ins. Microsoft’s guidance is to migrate them to Outlook web add-ins.
- Outlook Object Model (OOM) and MAPI. These are what an Excel macro uses to open Outlook, build a message and send it.
There is no new Outlook object to point the macro at. Microsoft’s developer page notes that “VSTO and COM add-ins are still supported in classic Outlook on Windows,” so the same macro works again once classic Outlook is the one running.
Microsoft’s deployment overview also lists Word’s Mail merge among features that still rely on classic Outlook, and recommends installing both apps side by side.
How do you keep the macro working this week?
- Switch back to classic Outlook. In the new Outlook, turn the toggle off and the classic version opens.
- Check that classic Outlook is installed. Look for Outlook (classic) in the Start menu. New installs of the Microsoft 365 desktop apps from Version 2502 include both Outlooks by default.
- Run the macro once and check Sent Items.
- Ask whoever manages your Microsoft 365 whether a migration policy is on.
The switch back may not last. The Admin-Controlled Migration to New Outlook policy moves users to the new Outlook in three steps, one per app launch. A second policy, Interval between new Outlook migration attempts, restarts the migration after someone switches back, and an admin can hide the toggle back to classic entirely.
Which replacement fits your macro?
| Option | Good for | Watch for |
|---|---|---|
| Keep classic Outlook for one person | Buying a few weeks | Admin policies can move that person to the new Outlook; the emails still depend on one PC |
| Power Automate cloud flow (Excel Online (Business) and Office 365 Outlook) | Emails built from rows in a sheet: reminders, confirmations, statements | The file must be .xlsx or .xlsb in OneDrive or SharePoint, with the data in a table |
| Office Script run from that flow | Macros that also sort, calculate or format the sheet before sending | The script is a rewrite; Microsoft limits the Run script action to 3 calls per 10 seconds and 1,600 per day |
| Power Automate for desktop, Outlook actions | Classic Outlook only | Microsoft says these actions “don’t support the new Outlook for Windows” |
| Rewrite the macro to send over SMTP | Short-term patches | Microsoft has announced plans to retire Basic authentication for SMTP AUTH in Exchange Online and names the Microsoft Graph API as another option |
| Bring in an outside team (Fixes & connections) | Macros that touch several workbooks, attachments or other systems | Needs the workbook, a few emails it sent, and the person who runs it today |
Both connectors in the cloud flow are standard connectors. Microsoft’s licensing page says Power Automate Free, included for work or school accounts, covers “creating and running cloud flows (without sharing)” with standard connectors. Without sharing, the flow lives under one person’s account, the same risk as the spreadsheet only one person understands.
How do you rebuild “Excel sends the emails” in Power Automate?
First write down what the macro does: which rows it picks, what goes in the subject and body, who it copies, and what it marks afterward. Mapping the process before automating is the slow part; the flow goes quickly after it.
1. Save a copy as .xlsx in OneDrive or SharePoint. Row actions work on .xlsx and .xlsb files up to 25 MB; a macro-enabled .xlsm works only with Run script. Leave the original alone until the flow passes its tests.
2. Turn the list into a table. Select a cell in the list, then Home > Format as Table and choose a style. In the Create Table dialog, confirm the range, mark that the table has headers, and select OK. Include a column with a unique ID for each row and a Sent column.
3. Create a scheduled flow. Sign in to make.powerautomate.com, select My flows, then the Cloud flows tab, then Create from blank. Select Add a trigger, search for Recurrence, and set the Interval, Frequency and Start time.
4. Read the unsent rows. Add List rows present in a table from Excel Online (Business). Pick the Location, Document Library, File and Table. In Filter Query, enter Sent ne 'Yes'. The action returns up to 256 rows by default, so turn on pagination if your list is longer.
5. Send one email per row. Add Apply to each and select value from the dynamic content. Inside it, add Send an email (V2) from Office 365 Outlook and fill To, Subject and Body from the row’s columns. CC, BCC, Reply To, Importance and From (Send as) are optional fields.
To send from a shared inbox, use Send an email from a shared mailbox (V2) and enter the Original Mailbox Address. Your account needs permission on that mailbox, and the action doesn’t work for shared mailboxes converted from personal ones.
6. Mark the row as sent. Still inside the loop, add Update a row. Set Key Column to your ID column, Key Value to the row’s ID, and Sent to Yes. The key column is case-sensitive, and if two rows share an ID only the first is updated.
7. Test on yourself. Put your own address in every email cell of the copy, then run the flow. Check your inbox, then check that every row now says Yes.
What breaks, and how do you check it worked?
- Someone has the file open. Microsoft doesn’t support edits from Excel and the connector at the same time, and a file can stay locked for up to 6 minutes after the connector last used it.
- The “Sent” mark lags. Writes can take up to 30 seconds to show, so don’t schedule runs back to back.
- Filtered results are stale. Microsoft warns that results from List rows present in a table may be delayed when filtering or sorting is used.
- Several attachments arrive broken. Microsoft notes this can happen with Send an email (V2); its workaround is to collect the attachments in an array variable first.
- A big batch hits mailbox limits. Exchange Online allows each mailbox 30 messages per minute and 10,000 recipients per day.
After the first real run, compare three numbers: rows unsent before, emails in Sent Items, and rows now marked Yes. They should match, and the flow’s run history should show no failed actions.
If the macro has grown into a small app, with forms, approvals and several people editing, read converting Excel to a web app before rebuilding it as a flow.
FAQ
Can I write VBA macros in the new Outlook? No. Microsoft’s feature comparison lists VBA macros as not supported in the new Outlook.
Is there an “Outlook (new).Application” object for Excel VBA? No. The new Outlook doesn’t support the Outlook Object Model, so Excel VBA can only drive classic Outlook.
Will the rest of my Excel macro still run? The lines that only work inside the workbook don’t depend on Outlook. The lines that create or send Outlook items need classic Outlook.
Can Power Automate for desktop send through the new Outlook? Not with its Outlook actions. Microsoft says they don’t support the new Outlook for Windows.
Sources
- Feature comparison between new Outlook and classic Outlook, Microsoft Support,
- Develop Outlook add-ins for the new Outlook on Windows, Microsoft Learn,
- Deployment overview for the new Outlook for Windows, Microsoft Learn,
- Policy for Admin-Controlled Migration to new Outlook for Windows, Microsoft Learn,
- Excel Online (Business) connector, Microsoft Learn,
- Office 365 Outlook connector, Microsoft Learn,
- Run a cloud flow on a schedule in Power Automate, Microsoft Learn,
- Types of Power Automate licenses, Microsoft Learn,
- Outlook actions reference (Power Automate for desktop), Microsoft Learn,
- Deprecation of Basic authentication in Exchange Online, Microsoft Learn,
- Exchange Online limits, Microsoft Learn,