Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ERROR USING CREATEOBJECT("WORD.APPLICATION")

Status
Not open for further replies.

Davenz

Programmer
Sep 13, 2002
34
NZ
I need help.

I am automating word from outlook vba. When I call the command "Set wdApp = CreateObject("Word.Application")" i'm getting a runtime error "Operation Failed"

The problem is occuring on one particular machine and I know my code is correct becuase this works on other machines and when I automate msaccess from outlook on the problem machine!

Is it possible that there is a corruption with Word on the machine I am using? or is there a setting on the machine that is prevent word object from being used?

I have tried running the code via outlook vba, access, and word itself and it still errors. Any Ideas please?

OS: XP
Office: 2003

 
Some things to consider:
reboot the PC
repair the office installation

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top