Fix Outlook WordEditor Errors in Excel VBA for Office 2016 and Microsoft 365
Question details
Identify why an Excel VBA macro cannot access or use Outlook Inspector.WordEditor when formatting an appointment.

- Product
- Microsoft Excel VBA and Microsoft Outlook
- Device & OS
- Windows 10 on the comparison computer; original system not provided
- Scenario
- An Excel macro uses an Outlook appointment inspector to format the appointment in Office 2016 or Microsoft 365.
- Observed behavior
- The macro works in Office 2010 but produces operation errors in Office 2016 or Microsoft 365. The workbook also worked on another Windows 10 computer with Office 365.
Open the workbook in Excel and locate the VBA statement that accesses Inspector.WordEditor. Confirm that the Outlook item being formatted is an appointment and that its inspector is available.
Check the Outlook inspector's editor before accessing WordEditor
Use this check to avoid accessing WordEditor when the appointment inspector is not using the Word editor.
In Excel, press Alt+F11 and open the module containing the Outlook appointment formatting macro.
After obtaining the appointment's Inspector, test `insp.EditorType = olEditorWord` before accessing `insp.WordEditor`. If you use the named Outlook constant in Excel VBA, enable Microsoft Outlook Object Library under Tools > References.
Put the existing WordEditor formatting code inside the matching If block. Add an Else branch to report that WordEditor is unavailable or use a different approach appropriate to the appointment.
In the VBA editor, run the procedure with the appointment open and check whether the editor-type test passes before the formatting code executes.

Compare the macro on another Office installation
Use a working computer to help determine whether the error depends on the local Office environment.
Work with Excel files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office files. It can help you move everyday spreadsheet work, although it does not fix Outlook WordEditor errors or guarantee compatibility with Outlook automation macros.

Frequently Asked Questions
How do I check whether an Outlook inspector uses Word?
In the VBA procedure, test the inspector's EditorType against olEditorWord before accessing WordEditor. In Excel VBA, add the Microsoft Outlook Object Library under Tools > References if you use that named constant.
Can I use HTMLBody to format an Outlook appointment?
No. HTMLBody is a MailItem property and is not available on an AppointmentItem. If WordEditor is unavailable, the appointment needs a different approach.
Why does the workbook work on another computer?
A successful test elsewhere suggests an environment-specific difference. Compare the Office installations, VBA references, inspector editor type, and exact error message before drawing a conclusion.
Can Office 2010 and Microsoft 365 installed together cause this error?
The reported test does not establish that side-by-side installation caused the error. Check the installed versions under Settings > Apps and compare the affected computer with a working one.




