Automation Error?

Automation Error?

Anonymous
Not applicable
308 Views
3 Replies
Message 1 of 4

Automation Error?

Anonymous
Not applicable
What does this mean?
Run-Time Error'-2147417848(80010108)

Automation Error
The Object Invoked has disconnected from it's clients.
It happens when I run the code upon opening a drawing at line 154,col 1 which reads:
xlbook.close savechanges=true
xlapp.quit
0 Likes
309 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Just what it sais: The Object Invoked has disconnected from it's clients You need a valid Reference to the application Object. How are you getting the Application Object? And where are you running from? IE: Excel, Acad, VB6 -- allfro - Chaos Coder Extraordinaire 'site index' (http://www.vbdesign.net/) | please use [ vbcode] \"your_code_here\" [/vbcode ] code tags | be nice | 'augi' (http://tinyurl.com/ytk37) |'go babelfish' (http://tinyurl.com/2j7df) ------------------------------------------------------------------------ allfro's Profile: http://www.vbdesign.net/expresso/member.php?action=getinfo&userid=37 View this thread: http://www.vbdesign.net/expresso/showthread.php?threadid=59850
0 Likes
Message 3 of 4

Anonymous
Not applicable
Running from Acad. I've got it working now. I was running it back into another function if a certain condition was met, and the other function was disconnecting from excel, but continuing the run to exit in this function. I split it into 2 modules that I call from 2 different lisp routines, and it's working fine now. Thanks for the reply.
0 Likes
Message 4 of 4

Anonymous
Not applicable
Your Quite Welcome....Come again anytime :) -- allfro - Chaos Coder Extraordinaire 'site index' (http://www.vbdesign.net/) | please use [ vbcode] \"your_code_here\" [/vbcode ] code tags | be nice | 'augi' (http://tinyurl.com/ytk37) |'go babelfish' (http://tinyurl.com/2j7df) ------------------------------------------------------------------------ allfro's Profile: http://www.vbdesign.net/expresso/member.php?action=getinfo&userid=37 View this thread: http://www.vbdesign.net/expresso/showthread.php?threadid=59850
0 Likes