+ Reply to Thread
Results 1 to 3 of 3

excel macro run time error '1004'- Application defined or object defined error

  1. #1
    Registered User
    Join Date
    06-12-2014
    Posts
    2

    excel macro run time error '1004'- Application defined or object defined error

    Hi,

    My requirement is to write a VBA code in Excel 2010 to merge the multiple excel files into one master excel file. I have written the below code-
    Please Login or Register  to view this content.
    I am new to VBA programming. So, Can anyone please help me here? This is urgent.

    Thanks,
    Karan
    Last edited by vlady; 06-12-2014 at 11:03 PM.

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: excel macro run time error '1004'- Application defined or object defined error

    Without data, it's difficult to determine, but this might be the cause.

    Please Login or Register  to view this content.
    The 'Rows' isn't fully qualified.

    Please Login or Register  to view this content.
    (LR1 + LR2 - 4) can't be less than LR1.
    David
    (*) Reputation points appreciated.

  3. #3
    Registered User
    Join Date
    06-12-2014
    Posts
    2

    Re: excel macro run time error '1004'- Application defined or object defined error

    Hello Tinbendr,

    Thanks for your reply. I made the change you suggested but unfortunately its not working. I am getting the same error.

    The excel files that i am trying to merge contains mostly one row of data, and always two columns.

    Really Appreciate your time in this.

    Thanks,
    Karan

+ 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. Replies: 1
    Last Post: 03-12-2014, 12:42 PM
  2. [SOLVED] Run time error 1004 Application-Defined or Object-Defined Error - Placing data into next e
    By michelle 1 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-27-2014, 12:57 PM
  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