+ Reply to Thread
Results 1 to 2 of 2

Run-time error -2147417848 (80010108) Method Value of object Range failed

  1. #1
    Registered User
    Join Date
    08-26-2013
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    8

    Run-time error -2147417848 (80010108) Method Value of object Range failed

    Hi,

    I have VBA code like this:

    Please Login or Register  to view this content.
    The formula in O2 is: "=IFERROR(IF(OR(M2="OFF",L2<=N2),0,L2),0)" (the iferror statement is to make sure it returns no errors). Usually this code runs fine but sometimes it crashes on the first row giving the error in the picture attached. error.jpg If I press "debug" the popup will come again and if I choose "end" Excel crashes (quits).

    I don't see any strange value in O2 when it happens. I'm 100% sure there was a 0 in there the last time I saw the vba error. I don't understand why it's crashing as the entire code is:

    Please Login or Register  to view this content.
    Which works fine and it's duplicated in a different duplicate tab as well which also works fine.

    Any help would be appreciated.

  2. #2
    Forum Contributor Obsessed's Avatar
    Join Date
    05-22-2013
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 365
    Posts
    215

    Re: Run-time error -2147417848 (80010108) Method Value of object Range failed

    It looks like the active workbook is the DTX workbook...try using Thisworkbook.Worksheets rather than calling it out. I've had weird errors clear up after changing the way I reference cells.
    Want to show appreciation for the help you received from a member? Give them reps by clicking the bottom left of their post!

+ 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] run time error method value of object range failed
    By gloger in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-27-2015, 04:56 AM
  2. Runtime Error 2147417848(80010108) Method Autofill of Object Range failed
    By seejohn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-10-2014, 08:03 AM
  3. Replies: 0
    Last Post: 10-25-2013, 03:58 PM
  4. Replies: 7
    Last Post: 05-15-2013, 09:02 AM
  5. "Runtime error '-2147417848 (80010108)' Method 'find' of object 'Range' failed"
    By excelworker_1 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-14-2012, 09:53 AM
  6. Replies: 12
    Last Post: 04-15-2010, 08:20 PM
  7. Replies: 7
    Last Post: 08-24-2005, 11: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