+ Reply to Thread
Results 1 to 1 of 1

run-time error '-2147417848 (80010108)

Hybrid View

  1. #1
    Registered User
    Join Date
    10-26-2012
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    1

    run-time error '-2147417848 (80010108)

    I have an excel macro that runs every half hour and now produces the following error:
    run-time error '-2147417848 (80010108)
    Automation error
    The object invoked has disconnected from its clients.

    I can temporarily fix it by creating a new spreadsheet with all the formatting and then importing the macro. However it will start to fail after several days of running.
    The basic flow of the macro is
    1). select first sheet
    2). load text file
    3). format the data
    4). load next sheet
    .
    .
    .

    I have six sheets in the workbook and six text files to work on, one file per sheet.
    this is the line that fails from the format sub routine:
    Selection.Delete Shift:=xlUp

    I have copied the macro into a text file and attached it to this post.
    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)

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