E
Ed
In an Excel macro, I call Word and open a document which has an Autpen
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
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