Yes, you can send email straight from Excel through Outlook using a short VBA macro that uses Outlook's own object model. It works in any desktop Excel with a desktop Outlook profile, and the safest way to start is with .Display (show the draft for review) before you ever switch to .Send. You do not need add-ins or third-party tools. You do need the Developer tab enabled, a saved macro-enabled workbook, and Outlook running and signed in on the same machine. Note that button and menu labels can differ slightly by Office version, region and edition, and this guide assumes Windows desktop Excel with classic desktop Outlook, not the new Outlook for Windows, which does not expose the same automation interface.

What You'll Need

  • Windows desktop Excel with macros enabled, and the same Outlook app signed in on the same PC.
  • The Developer tab visible. If it is not, go to File > Options > Customize Ribbon and tick Developer in the right-hand list.
  • A workbook saved as .xlsm (Excel Macro-Enabled Workbook). Macros are discarded from ordinary .xlsx files.
  • Either a worksheet listing recipients, subject and body, or willingness to hard-code those values into the macro.
  • Trust access to the VBA project object model is not required for this task, but macro security must allow your code to run. Check under File > Options > Trust Center > Trust Center Settings > Macro Settings if macros are blocked.

Step-by-Step

  1. Lay out your data first. In a worksheet, put headers such as Name, Email, Subject and Body in row 1, with one row per recipient below. Keeping the layout tidy makes the loop simple and reduces errors. Save the workbook as .xlsm before writing any code.
  2. Open the VBA editor. Press Alt+F11. In the Project pane on the left, right-click your workbook and choose Insert > Module. A blank code window appears.
  3. Turn on Outlook references. In the VBA editor choose Tools > References and tick Microsoft Outlook Object Library. This enables early binding, so the code can use named types and you get autocomplete. If you skip this and use late binding instead, the code still runs because it creates the Outlook object at runtime with CreateObject("Outlook.Application"), which avoids reference problems when the file is opened on another PC.
  4. Add the core macro. Paste a routine that declares an Outlook application, a mail item, then sets .To, .Subject, .Body and finally calls .Display. A minimal single-recipient version looks like this:
Sub SendOneEmail()
    Dim olApp As Object
    Dim mail As Object
    Set olApp = CreateObject("Outlook.Application")
    Set mail = olApp.CreateItem(0)
    With mail
        .To = "person@example.com"
        .Subject = "Test from Excel"
        .Body = "Hello, this message was drafted by a macro."
        .Display
    End With
End Sub
  1. Run it once to check. Press F5 with the cursor inside the routine. Outlook should open a draft window with the fields filled in. Close it without saving for now. If you get a compile error, check the quote marks and that the module is not named after a keyword.
  2. Make it read your sheet. Replace the fixed text with cell references, looping down the rows. For example, inside the loop set .To = Cells(i, 2).Value, .Subject = Cells(i, 3).Value and .Body = Cells(i, 4).Value, where i starts at 2 and stops at the last used row. Use Cells(Rows.Count, 2).End(xlUp).Row to find that last row reliably.
  3. Add a guard for empty rows. Inside the loop, skip any row where the email cell is blank so the macro does not create half-empty drafts. A simple If Len(Trim(Cells(i, 2).Value)) > 0 Then block is enough.
  4. Test with Display, not Send. Run the loop with .Display still in place and confirm every draft is correct, including punctuation and line breaks. Press Ctrl+Break if you need to stop a runaway loop.
  5. Switch to Send only when ready. Change .Display to .Send. Understand the consequence: Outlook's send rules apply, so the message may sit in the Outbox briefly, and any attachment or content warnings still trigger. Because .Send does not wait for you, a loop over many rows can fire all of them quickly.
  6. Save and assign a button if you like. Save the workbook, then insert a shape on the sheet and use right-click > Assign Macro to link it to your routine, so colleagues can run it without opening the editor.

Common Mistakes

  • Saving as .xlsx and losing the macro on close. Always use .xlsm.
  • Forgetting that Outlook must be open or at least configured with a signed-in profile; the macro creates an Outlook instance but cannot log in for you.
  • Leaving .Display in a long loop, which stacks dozens of draft windows and looks like a hang. The macro is waiting on each window, not frozen.
  • Mixing up column letters and numbers, causing the body text to land in the recipient field.
  • Using DisplayName instead of the email address in .To, which can silently fail to resolve.
  • Assuming this works with the new Outlook for Windows or Outlook on the web. It does not; those do not expose the same automation model. If you need web-only sending, use Power Automate instead.

Tips

  • Use late binding (CreateObject) in workbooks that move between computers; it avoids broken references.
  • Format the body with line breaks by concatenating vbCrLf between paragraphs, and keep the text simple so it renders in every mail client.
  • Add an On Error GoTo handler that logs failed rows to a spare column instead of halting the whole run.
  • Test with yourself in the To field first, then a small group, before any bulk run.
  • Store recipients on a hidden or protected sheet if you are sharing the workbook, and be mindful of where personal data lives.

Troubleshooting

Start with the simplest checks. If nothing happens at all, confirm macros are enabled and the workbook is in a trusted location or you clicked Enable Content. If you see an error like "Object required" or "ActiveX component can't create object", Outlook is likely closed, not properly configured, or a different account type is in use. Open Outlook manually, sign in, then rerun.

If the macro is blocked with a security warning about programmatic access, look in Outlook's Trust Center settings for the option that allows programmatic access and check it is not set to block. In managed workplace PCs this may be locked by policy, in which case ask your IT administrator; do not try to alter security settings you were not given access to.

If drafts open but fields are empty, the cell references are wrong: debug by adding a line that writes the intended value to the Immediate window with Debug.Print. If only some rows fail, check for stray spaces, merged cells or blank email cells. If the macro runs twice as many times as expected, your loop bounds are probably off by using the wrong last-row calculation or a hard-coded number.

If send appears to work but nothing arrives, check the Outbox and the Sent Items folder, and note that server-side rules or automatic send delays may hold messages. Distribution list or bulk restrictions set by your mail administrator can also reject large sends; check with them before mass mailing.

Frequently Asked Questions

Does the macro need Outlook to be open?

Best practice is to have Outlook already running and signed in. The code can start an Outlook instance, but a configured profile is still required, and this guide assumes desktop Outlook on Windows.

Can I send from a shared mailbox?

Usually yes, if you have permission to send as that address; you can set the sender using Outlook's mail item properties, but exact behaviour depends on how your organisation configures the account. Test with Display first.

Can I add attachments?

Yes, using the mail item's Attachments.Add method with a full file path. The file must exist at run time, so check paths before a bulk run.

Will this work on Mac?

Outlook for Mac does not support this VBA automation model the same way, so the macro is Windows-only in practice.

Does this work with the new Outlook for Windows?

No. The new Outlook does not support this macro approach. Use classic Outlook, or an official automation service such as Power Automate.

Can I schedule emails to send later?

Not directly with a simple .Send. You would need a deferred delivery option on the mail item or a scheduled task that runs Excel. Verify the option exists in your Outlook version before relying on it.