+ Reply to Thread
Results 1 to 7 of 7

VBA code showing error "Run time error 424 object required"

  1. #1
    Forum Contributor
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    427

    VBA code showing error "Run time error 424 object required"

    in the attached file there is VBA code first i want to tell you that code i use to copy specific data from sheet 1 to sheet 2
    i copy some data in sheet 2 for your example, i copied date then i copy value of cell D12, then i copied value of cell F11, then i copy value of cell W14,
    then i copy another date then i copy cell value D30, then i copy value of cell F29, then i copy cell value of W32 and so on,
    but now this code showing error , error is " Run time error 424 object required" please clear that error also i want copy another cell values
    so do modification for that so also VBA code copy that values , i want to also copy cell values of cell C12,R12, then C30, R30
    so please provide me solution, thanks
    Attached Files Attached Files

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,307

    Re: VBA code showing error "Run time error 424 object required"

    you are confusing your self with 'sheet2' and 'Sheet2'
    one is the tab name the other is the sheet name.
    look in the properties to sort which is which.
    however your sheet format is a nightmare - you have concentrated to much on the 'pretty picture' and not the practicalities of data sorting.
    there is also data deep in your sheet taking the rowcount to the extreme.
    torachan

  3. #3
    Forum Contributor
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    427

    Re: VBA code showing error "Run time error 424 object required"

    i also attached one another file in this file code is working fine but when i copy data from the file which is i attached previsouly then code could not run and show run time error

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,307

    Re: VBA code showing error "Run time error 424 object required"

    It falls-over because Sheet1 does not exist in your file - refer to my previous post - you are confusing sheet names with tab names.

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    427

    Re: VBA code showing error "Run time error 424 object required"

    ok i understand but i also want to copy data of cell C12, R12 and C30, R30 so please do necessary changes in that code

  6. #6
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,307

    Re: VBA code showing error "Run time error 424 object required"

    sorry, I will wait for someone else to pick this up.
    your code does not make sense.
    what purpose does reference to 'LastRow' serve, i cannot understand your logic.
    torachan.

  7. #7
    Forum Contributor
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    427

    Re: VBA code showing error "Run time error 424 object required"

    I did not write this code but can you provide totally different code

+ 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] CommandButton1.Backcolor = Number, Getting / Run time error "424" Object Required
    By Harvey3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2019, 07:33 PM
  2. [SOLVED] Run-Time Error "424" - Object Required
    By zanshin777 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-10-2015, 04:54 PM
  3. UserForm "run time Error 424 Object Required"
    By bimo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2014, 07:47 AM
  4. [SOLVED] Macro generates the following error: "run-time error 424 object required"
    By Metrazal in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-23-2014, 06:31 PM
  5. Run-time error "424": Object required
    By TGM™ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-29-2012, 05:57 AM
  6. [SOLVED] "Run-time error '424': Object required" error
    By jaff84 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-19-2012, 10:43 AM
  7. [SOLVED] Excel 2007 : Help to Solve Run-time Error 424 "Object Required"
    By D.S.Rama Rao in forum Excel General
    Replies: 6
    Last Post: 03-05-2012, 03:24 PM

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