I try to open a word document to make changes but it gives error message:
Run-time error '429'
ActiveX component can't create object


my test code is as following:

Option Explicit
Dim AppWord As Word.Application
Dim AppDoc As Word.Document

Private Sub Form_Load()
Set AppWord = New Word.Application
Set AppDoc = AppWord.Documents.Add(App.Path & "test.doc")
Print AppWord.Name
End Sub

any idea? thanks.