+ Reply to Thread
Results 1 to 5 of 5

Run time error 1004 when adding rows

  1. #1
    Forum Contributor
    Join Date
    06-03-2008
    MS-Off Ver
    Excel 2007 (also have access to Excel 2000/2003)
    Posts
    368

    Run time error 1004 when adding rows

    Hi,

    I have the following code, called from a Userform:

    Please Login or Register  to view this content.
    Sheet1 that I run it on goes to column IR leaving 4 blank columns. Sheet5 runs to IQ leaving 5 blank columns. I only have about 100 runs of data.

    Any ideas would be greatly appreciated.
    Last edited by jpruffle; 09-28-2009 at 07:35 AM.

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Run time error 1004 when adding rows

    jpruffle,

    Try:

    Please Login or Register  to view this content.
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717

    Re: Run time error 1004 when adding rows

    not able to find object ..

    Can you post ur workbook

    may be sheet5 is not there....

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Run time error 1004 when adding rows

    Do you have a sheet5 or a sheet with the name "Sheet5" but could be sheet2?

    The name on the sheet is not always the object number
    other wise it works for me
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  5. #5
    Forum Contributor
    Join Date
    06-03-2008
    MS-Off Ver
    Excel 2007 (also have access to Excel 2000/2003)
    Posts
    368

    Re: Run time error 1004 when adding rows

    Thank you all for your help. I couldn't post the book because of the data within it.

    I found the answer... I have done far too much formatting of full columns and Excel saw them as used!. I used the following link as an Add in to solve it:

    http://support.microsoft.com/kb/244435

    This cleared all unrequired formats.

    Thanks for your help though.

+ 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