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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word is busy

Status
Not open for further replies.

Craftor

Programmer
Feb 1, 2001
420
NZ
My program creates an instance of Word in order to print out an attachment through CDO. I get an error message back just after the line of code to create the instance of Word (set obj = CreateObject("Word.Application.9"). The error states: "Automation error. The message filter indicates that the application is busy". As far as I can tell, Word is not running before this line of code. This error is preventing my document from even being opened.

ANY help, please, is needed URGENTLY!!
 
Try:
Code:
Set wdObj = CreateObject("Word.Application")

or

Dim wdApp As Word.Application
Set wdApp = New Word.Application
wdApp.Visible = True
 
It is still giving the same problem - even if I just start a new project and just try to open an instance of word by itself!!!!!! Any thoughts PLEASE help!!!!
 
Check Task Manager to see if winword.exe is running in the background. I know that Outlook fires up an instance of Word, assuming you use it as your e-mail template. Even if it is running, it should not cause any problems. I have never seen this problem before. What version of Word/Windows are you using?
 
It is an NT4 Workstation with Microsoft Word 2000 running. Have closed all instances of Winword.exe using the Task Manager and it STILL comes up with that error message!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top