+ Reply to Thread
Results 1 to 4 of 4

Automation error Object invoked has disconnected from its clients

  1. #1
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Automation error Object invoked has disconnected from its clients

    Hi All,

    I am no VBA expert here so go easy on me :-)

    I have a series of spreadsheets that I add a line of data to every day. I recorded the simplest of VBA macros in my personal file which copies the selected line and inserts a copy into the line above on several sheets.

    Please Login or Register  to view this content.
    This is working fine on most of the spreadsheets but on one of them it works on the first tab not not on two others.

    copy insert error.png

    The error happens every time in the same place. Must be something specific about the file It fails in but i can't see it. The debug option tells me nothing. Any thoughts?

    Bob
    Last edited by BobMillar; 05-13-2014 at 06:49 AM.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,973

    Re: Automation error Object invoked has disconnected from its clients

    So what's different about the two sheets where it fails? Any controls on them? Tables? Filters?

    Also, please change your post to use code tags before a moderator sees it...
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Automation error Object invoked has disconnected from its clients

    No difference that I can think would cause an error.

    Tab 1 - which works has a series of vlookups to another spreadsheet on the network - no problems with these.

    Tabs 2 & 3 which fail, link to data on the first tab and other tabs in the spreadsheet - mostly vlookups and direct sum / sumproduct arithmetic operations referencing the other sheets.

    There are no other links to external data sources or files other than the one I mention on tab 1. I don't generally use excel Tables. I do filter but not on these tabs.

    The file is stored on a dropbox, but so are the others that work so that's not a difference - it's just a mystery why this one is different. The error happens on two but I created the second from the first so they must be linked.

    Sorry - I don't know what you mean by code tags.... I'll google that :-)

    Thanks

    bob

  4. #4
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Automation error Object invoked has disconnected from its clients

    SOLVED IT!

    I had a tab in the file which had errors on it. It was redundant but I had hidden it rather than deleted it. now deleted it and problem solved... Thanks Anyway rory!

    Bob

+ 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. [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
  2. Replies: 0
    Last Post: 11-22-2013, 11:56 AM
  3. 2147417848 automation error the object invoked has disconnected from its clients
    By KasiaFavourite in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2011, 10:44 AM
  4. -2147417848 automation error the object invoked has disconnected from its clients
    By ajaykgarg in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-12-2011, 08:10 AM
  5. Automation Error : The Object Invoked Has Disconnected From Its Clients !!
    By donna.gough@hydro.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2005, 09:05 AM

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