"Object disconnected from clients"??

E

Ed

In a macro, I call Word and open a document which has an Auto_Open macro.
I've done it before with no problems. Today, though, the macro runs
through:
doc = "C:\Documents and
Settings\username\Desktop\folder\TablesTemplate.doc"
Set WD = CreateObject("Word.Application")
WD.Documents.Open doc
WD.Visible = True

and, on the last line, gives the following error message:
Run-time Error '-2147417848(80010180)':
Automation Error
The object involved has disconnected from its clients.

Any suggestions?

Ed
 
C

Cesar Zapata

couple days ago I have the same error message( I cant remembers the numbers)
but the macro was doing a completely different process. just some loops and
pastes.

Tried it in 2 PC's so I think the files got corrupted or somethingk
 

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