Field guide · Small business · Microsoft Outlook

New Outlook VBA alternative: keep your Excel email macros working

The new Outlook for Windows doesn’t run VBA, COM add-ins or the Outlook Object Model, so an Excel macro that calls CreateObject("Outlook.Application") stops sending for anyone moved to it. This week, switch the person who runs the macro back to classic Outlook. For a lasting fix, rebuild the email step as a Power Automate cloud flow that reads an Excel table and sends each email through the Office 365 Outlook connector.

Published · Get the PDF

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?

  1. Switch back to classic Outlook. In the new Outlook, turn the toggle off and the classic version opens.
  2. 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.
  3. Run the macro once and check Sent Items.
  4. 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?

OptionGood forWatch for
Keep classic Outlook for one personBuying a few weeksAdmin 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, statementsThe file must be .xlsx or .xlsb in OneDrive or SharePoint, with the data in a table
Office Script run from that flowMacros that also sort, calculate or format the sheet before sendingThe 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 actionsClassic Outlook onlyMicrosoft says these actions “don’t support the new Outlook for Windows”
Rewrite the macro to send over SMTPShort-term patchesMicrosoft 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 systemsNeeds 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

Have one problem in mind?

Walk us through it on a free 30-minute call. Within two business days you get a one-page note on what we’d fix first, yours to keep.

Walk us through one problemFree 30-minute call.