+ Reply to Thread
Results 1 to 4 of 4

VBA Error Message - Runtime Error 424 Object Required

  1. #1
    Registered User
    Join Date
    04-11-2017
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    2

    VBA Error Message - Runtime Error 424 Object Required

    Hello,
    I’m trying to modify the below code that I found to suit what I’m trying to do but it’s not working. Basically, I have a tab called Input and another tab called Lead. I want to be able to run this macro and if the text that is entered in cell D9 on the Input tab is found on the Lead tab, then the cell should be deleted from the Lead tab and shifted up. There is named range on the Lead tab called “LeadsList”.
    The following line gets highlighted when I run the code and I get error message:

    Set xlRange = xlSamplesheet.Range("LeadsList" & iLastRow)

    Error Message – Runtime error 424 Object Required

    Please Login or Register  to view this content.
    Thanks!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: VBA Error Message - Runtime Error 424 Object Required

    Assuming it's a Dynamic Named Range, just

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: VBA Error Message - Runtime Error 424 Object Required

    Thanks for the rep.

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: VBA Error Message - Runtime Error 424 Object Required

    Option Explicit is your friend.

    That line should have read
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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. Runtime Error - Object Required
    By darkblueblood in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2014, 07:21 AM
  2. Runtime error 424 Object Required - HELP ME
    By joh46k in forum Excel General
    Replies: 1
    Last Post: 05-09-2013, 01:09 AM
  3. [SOLVED] Runtime Error: 424 Object Required
    By Sleepyshy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2013, 05:53 PM
  4. [SOLVED] Runtime Error '424' Object Required
    By kboy1289 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 10-09-2012, 04:29 PM
  5. VBA Runtime Error - '424' Object Required
    By ctuprde in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2012, 05:57 AM
  6. Excel xmlHTTP object error message - system/runtime error
    By Porky2007 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2007, 09:36 AM
  7. Runtime error 424 - Object required
    By periro16 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2005, 01:05 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