+ Reply to Thread
Results 1 to 3 of 3

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

  1. #1
    Registered User
    Join Date
    09-07-2016
    Location
    Calgary
    MS-Off Ver
    2010
    Posts
    1

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

    Hi!

    I used the code below in a hidden worksheet so that if text is entered into a template and then deleted, the formulas will reappear. Sometimes, but not always, I receive the following error.

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

    This is the code that I am currently using.
    Please Login or Register  to view this content.
    The error is occuring at this point Target.Formula = Sheets("Saturday Hidden").Cells(Target.Row, Target.Column).Formula

    Can someone please advise on what needs to be modified in order for the macro to work properly?
    Last edited by alansidman; 10-02-2016 at 04:17 PM. Reason: code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,811

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

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

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

    Hi,

    You really ought to be disabling events if you change cells from a change event. That requires
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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] RunTime Error 2147417848 -Method insert of object Range Failed
    By Vassen in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-14-2016, 06:58 AM
  2. 2147417848 Method Default of Object Range Failed (Excel version 2016)
    By omagoodness in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-10-2016, 05:13 PM
  3. Run-time error -2147417848 (80010108) Method Value of object Range failed
    By Arito in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2015, 02:10 PM
  4. 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
  5. Replies: 7
    Last Post: 05-15-2013, 09:02 AM
  6. "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
  7. Replies: 7
    Last Post: 08-24-2005, 11:05 AM

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