GetObject function with Word 2007

Is anyone else expeiencing errors interfacing with Word 2007?

Subject: GetObject function with Word 2007

I just found your post, and yes - I am having exactly this issue. When I create a word object using Word.Application, users using Word 2003 are able to open it, but users using Word 2007 get an automation error. Very frustrating.

Subject: GetObject function with Word 2007

I think that GetObject doesn’t work anymore.Try

Set wrdApp = CreateObject(“Word.Application”)

If “OBJECT” <> Typename(wrdApp) Then

Msgbox “Office not installed?”

else

wrdApp.Visible = True 'Show the application

'create a new Word document based on template Normal.dot

Set wrdDoc = wrdApp.Documents.Add(“Normal”, False, 0)

End If

Good luck.