+ Reply to Thread
Results 1 to 4 of 4

Automation error

  1. #1
    Registered User
    Join Date
    05-26-2018
    Location
    Cleveland, Ohio
    MS-Off Ver
    8.1
    Posts
    3

    Automation error

    Hello, I'm having this error when running a code: run-time error ‘2147417848 (80010108)’: Automation error: The object invoked has disconnected from its clients.

    I have used the following macro in numerous workbooks for several years without a problem, then last week I get the run-time error in every file and in each file none of data to be sorted is attached to another file nor web query.

    The macro stops and displays the error at the third code line.

    Please Login or Register  to view this content.
    I ran the Control Panel – Programs – Fix and Repair app and the problem continues.

    I would definitely appreciate any help or guidance for fixing this error.
    Last edited by Leith Ross; 05-29-2018 at 08:36 PM. Reason: Added Code Tags

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Automation error

    Hello OscarBott,

    Welcome to the forum!

    Try this version of your macro...

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    05-26-2018
    Location
    Cleveland, Ohio
    MS-Off Ver
    8.1
    Posts
    3

    Re: Automation error

    Thanks Leith, I tried your suggestion, still fails at 3rd line with same error message.

  4. #4
    Registered User
    Join Date
    05-26-2018
    Location
    Cleveland, Ohio
    MS-Off Ver
    8.1
    Posts
    3

    Re: Automation error

    Being new to being a member of a forum and ironically trying to get my problem resolved quickly, I was and still am anxious, I overlooked the “Want to get your question answered quickly?” section of the forum rules. Therefore I am attaching a file that I use to work through problems that I encounter.
    As with all my issues I name the current sheet that I am working on “TestThis.”

    While I have not learned, and still want to, why the original code is creating errors I did find several work around solutions at: stackoverflow.com

    The code that I am now using is:

    Please Login or Register  to view this content.
    Sincerely,

    Oscar
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Loop Nesting is returning Run-Time Error '-2147221080 (800401a8)': Automation Error
    By ChristopherBrandonKi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-21-2014, 02:36 PM
  2. [SOLVED] Run-tim error -2147467259(80004005): Automation error Unspecidied error
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2014, 12:12 PM
  3. [SOLVED] Error: automation error the object invoked has disconnected from its clients
    By siroos12 in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 12-24-2013, 08:56 AM
  4. Facing 'run-time error -2147217871 (80040e31) Automation error' in excel VBA
    By junaidanjum in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2013, 03:48 AM
  5. Replies: 7
    Last Post: 05-15-2013, 09:02 AM
  6. Run-Time Error '-21474417848 (80010108)': Automation Error
    By robotzel78 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2012, 12:55 PM
  7. Replies: 7
    Last Post: 01-15-2010, 02:34 PM

Tags for this Thread

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