Creating Word Object reference fails

J

Jack

I have one workstation that the following line of code fails returning a
could not create object.

Set objWordPub = CreateObject("Word.Application")
I have also tried it as:
Set objWordPub = CreateObject("Word.Application", "localhost")

I have been using this call for years and never seen it fail. Could it be a
security setting? The installation is on Windows XP and Office 2003
(11.6568.6568 SP2).
 
W

Wei Lu [MSFT]

Hello Jack,

I understand that when you using Word Automation to create a Word
application object and you get the error message:

ActiveX component can't create object

If I misunderstood your concern, please feel free to let me know.

Based on my research, you may refer this KB article to troubleshoot.

You receive run-time error 429 when you automate Office applications
http://support.microsoft.com/?id=828550

Hope this helps.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei Lu [MSFT]

Hi ,

How is everything going? Please feel free to let me know if you need any
assistance.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top