+ Reply to Thread
Results 1 to 4 of 4

Automation Error...!!!

  1. #1
    Registered User
    Join Date
    10-11-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2003
    Posts
    32

    Automation Error...!!!

    Hi All.
    I have a weird problem. I have googled it and found that others seem to have meet the same issue but havn't found any fix... yet :-)
    When I run the code below, then I get this error:
    "Automation Error
    The object invoked has disconnected from its clients"
    at this line:
    Please Login or Register  to view this content.
    It runs fine from my work station running Win7/Excel2010 but on my laptop running WinXp / Excel 2010 it gives me the error everytime...!
    The entire code is:
    Please Login or Register  to view this content.
    Hope anyone has a solution... ?
    Best regards

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Automation Error...!!!

    Try this...

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 11-30-2012 at 11:33 AM.

  3. #3
    Registered User
    Join Date
    10-11-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Automation Error...!!!

    Great Man it works! However, I will need to try at my working laptop as well Monday...
    Could you please explain me the difference to the original code (besides that yours are much more tight :-) ) and why this should avoid the automation error?
    Best regards

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Automation Error...!!!

    I don't know what causes your automation error, but the new code avoids using the same commands in the line that causes the error. So maybe it will avoid the error.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1