+ Reply to Thread
Results 1 to 13 of 13

Run time error 1004 Application-Defined or Object-Defined Error - Placing data into next e

  1. #1
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    316

    Run time error 1004 Application-Defined or Object-Defined Error - Placing data into next e

    Hi

    I am receiving a run time error 1004 Application-Defined or Object-Defined Error onth ecode below. Can anyone point me in the right direction please?

    Please Login or Register  to view this content.
    Many thanks

  2. #2
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Which line error is coming, great if you can upload your workbook

  3. #3
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    316

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Hi Haripouri, its the first line

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Seem like you used 1 (one) instead of l (alphabet) in End(xlUp) above. Check and let me know if this is not the case

  5. #5
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    316

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Thanks Haripopuri,

    I was, i have ammended the codeand its executing without errore but its not placing any data in the sheet its definately sheet 9 and the worksheet is called "Archive"



    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Since you are using UserForm, you will have to refer to complete UserForm controls path if you need to use control values. So instead of tbxName.value, try using userform2.tbxName.Value.
    Ditto for all others. Let me know if this works.

    Cheers
    Hari

  7. #7
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Just upload your workbook if you still have doubts. That helps a lot to exactly understand what's happening behind the curtains.

  8. #8
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    316

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Hi Hairipopuri,

    Thats not done it either. I have uploaded my spreadsheet. Using the booking button and command button I am trying to archive data from the Client Information Tab to Archive.
    Attached Files Attached Files

  9. #9
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Please review rows 9999 and down.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  10. #10
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    316

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Ah!! That will be where it is, how do i start populating empty rows from the top??

  11. #11
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Please Login or Register  to view this content.
    This line will find the row number after the last row with data in column A. You have data in column A below any real data. Perhaps you may use:
    Please Login or Register  to view this content.
    Or you may simply clear column A data.

  12. #12
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Thanks Izandol. I vote for clearing up A. Doesn't look needed much.

  13. #13
    Forum Contributor
    Join Date
    07-02-2013
    Location
    abbots langley
    MS-Off Ver
    Excel 2010
    Posts
    316

    Re: Run time error 1004 Application-Defined or Object-Defined Error - Placing data into ne

    Thanks Both, have ammended the code and cleaned up column A as suggested. Thanks for helping me out.

+ 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 '1004' application-defined or object-defined error
    By RichTea88 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-28-2013, 06:52 AM
  2. [SOLVED] Error " Run-time error '1004': application defined or object defined error
    By lengwer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2013, 07:26 AM
  3. [SOLVED] Macro causes Run time error 1004 Application defined or object-defined error
    By Firefighter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2012, 04:09 AM
  4. [SOLVED] run-time error '1004' application-defined or object-defined error - Excel 2007
    By kaurka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2012, 02:46 AM
  5. Macro - Run-time Error '1004': Application defined or object defined error
    By robby10 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-14-2010, 07:55 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