Fix Excel 2013 VBA Error 429 When Creating a Word Application Object
Question details
Resolve error 429 when Excel VBA tries to create a Word.Application object.

- Product
- Microsoft Excel 2013 VBA and Microsoft Word
- Device & OS
- not provided
- Scenario
- An Excel macro automates Word and works when stepped through but fails during normal execution.
- Observed behavior
- Excel reports “Run-time error 429: ActiveX component can't create object” when creating a Word.Application object.
Identify the VBA line that raises error 429 and confirm that Microsoft Word is installed and opens normally. In the VBA editor, review Tools > References for any entries marked MISSING.
Reuse a Running Word Instance and Qualify Excel Objects
Use this approach when the macro creates Word repeatedly or terminates Word processes before automation.
Try to attach to an existing Word instance before creating one. Retain the resulting object reference for the work that follows, and do not terminate all Word processes.
Stepping through code can change its timing, so success in the debugger alone does not establish the cause of error 429.
In Excel, press Alt+F11 to open the VBA editor, open the relevant module, and add Option Explicit at the top. Declare variables such as Dim wordApp As Object and Dim dataRange As Excel.Range.
In the macro, identify Excel objects explicitly, for example: Set dataRange = ThisWorkbook.Worksheets("Sheet1").Range("A1"). Replace Sheet1 and A1 with the worksheet and range used by your code.
Replace the Word initialization block with: On Error Resume Next Set wordApp = GetObject(, "Word.Application") On Error GoTo 0 If wordApp Is Nothing Then Set wordApp = CreateObject("Word.Application") End If Use wordApp for subsequent Word operations instead of creating another application object.
Choose Debug > Compile VBAProject in the VBA editor, correct any reported errors, and run the macro normally. If CreateObject still raises error 429, check the Word installation and registration.

Check Word and Repair the Office Installation
Use this when CreateObject still fails after the macro's object handling has been corrected.
Work with Spreadsheets and Documents in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working across spreadsheets and documents. Its Microsoft Office format compatibility can make moving everyday files straightforward. It does not repair Microsoft Word automation or guarantee compatibility with Excel VBA macros.

Frequently Asked Questions
Why does the macro work when I step through it but fail when I run it?
Stepping through changes the timing of the macro and may hide a timing or initialization issue. Use Debug in the VBA editor to identify the failing line, then check how the Word application object is obtained and reused.
What is the difference between GetObject and CreateObject for Word?
GetObject(, "Word.Application") attempts to attach to a running Word instance. CreateObject("Word.Application") attempts to create a new instance. Handle a failed GetObject call before trying CreateObject.
Do I need a Word reference in Tools > References?
A Word object library reference is needed for Word-specific declared types such as Word.Application. If you declare the variable As Object and use CreateObject, that Word reference is not required for the late-bound code.
Should the macro close Word after it finishes?
Close Word only if that is intended. If the macro attached to an existing instance using GetObject, calling Quit could close the user's Word session. Track whether the macro created the instance before deciding to quit.




