+ Reply to Thread
Results 1 to 4 of 4

Insert Row throws error "Insert Method of Range class failed"

  1. #1
    Registered User
    Join Date
    05-16-2012
    Location
    Utah
    MS-Off Ver
    Excel 2010
    Posts
    31

    Insert Row throws error "Insert Method of Range class failed"

    so here's an interesting issue i'm running into.

    I am running code from a module onto different worksheets in my workbook. Currently the code is all running on a single worksheet and I've been using Activecell.offset function to insert information from a userform to the worksheet.

    currently if I try to do:
    Please Login or Register  to view this content.
    I get the error "INSERT METHOD OF RANGE CLASS FAILED"
    other forum posts suggest that this is a way of inserting another row. Likewise if I just do:
    Please Login or Register  to view this content.
    it does select the correct row to insert below...

    Am I missing something here? it can't be very difficult, maybe just another set of eyes will help.
    Thanks

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    03-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1,093

    Re: Insert Row throws error "Insert Method of Range class failed"

    Try

    Please Login or Register  to view this content.
    Let me know if this works for you!

    Thanks!

  3. #3
    Registered User
    Join Date
    05-16-2012
    Location
    Utah
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Insert Row throws error "Insert Method of Range class failed"

    haha genius! I knew it had to be pretty simple. I just assumed that if *.entirerow.insert didnt work that using selection didnt work either..

    Thanks!

  4. #4
    Registered User
    Join Date
    01-07-2015
    Location
    Beirut,Lebanon
    MS-Off Ver
    2013
    Posts
    12

    Re: Insert Row throws error "Insert Method of Range class failed"

    Quote Originally Posted by rvasquez View Post
    Try

    Please Login or Register  to view this content.
    Let me know if this works for you!

    Thanks!
    Thanks

    What if I want to select several rows , and copy them/insert them down ? what would be the code ?

+ 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