+ Reply to Thread
Results 1 to 6 of 6

Run-time error '424' - Object Required HELP

  1. #1
    Registered User
    Join Date
    06-15-2015
    Location
    Waltham, MA
    MS-Off Ver
    Windows 7 Professional
    Posts
    19

    Run-time error '424' - Object Required HELP

    Hi. I have minimal experience with VBA, and received a lot of help from another forum (can't remember which one, hence why i signed up here) in order to build it. I've since modified it to fit my needs for my project I'm running this year. Slightly different export requirements etc. So, while I know there may be 'better ways' to write what I'm trying to do, you'll end up confusing me more I will take the time to learn the better ways later, but for now, I have an export I need to have finalized by EOW.

    I can't show the actual spreadsheet for confidentiality reasons, but was hoping someone could help me debug this. The error I get is in the title of the post, and I've gone through the code several times and can't identify why it's not working. I had it working perfectly on Friday, and hadn't touched anything. When I did my morning export (again, haven't touched or changed anything since Friday- including the document I'm exporting from. nothing has changed..)- it gave me the error and highlighted the item below. If i remove the item entirely, it gets hung up on the next one. Can someone help?

    It gets hung up on the red text. If I remove the whole thing, and re-run, it will get hung up on the item in blue. it's incredibly confusing considering I've done nothing different since Friday afternoon

    Please Login or Register  to view this content.
    Thanks!
    Eric

  2. #2
    Registered User
    Join Date
    06-12-2015
    Location
    Maryland, USA
    MS-Off Ver
    2010
    Posts
    83

    Re: Run-time error '424' - Object Required HELP

    try this

    Please Login or Register  to view this content.
    can't be sure it will work without the original spreadsheet but give it a try

  3. #3
    Registered User
    Join Date
    06-15-2015
    Location
    Waltham, MA
    MS-Off Ver
    Windows 7 Professional
    Posts
    19

    Re: Run-time error '424' - Object Required HELP

    (not sure why it didn't respond a second ago, so apologies if this posts twice). Tried the above, and now it gets hung up on red text below. Also, apologize, I know it's easier with an actual spreadsheet- but appreciate the attempt to help without one.
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-12-2015
    Location
    Maryland, USA
    MS-Off Ver
    2010
    Posts
    83

    Re: Run-time error '424' - Object Required HELP

    if col6 a text variable? if so replace:

    Please Login or Register  to view this content.
    with

    Please Login or Register  to view this content.
    You are basically getting this issue because your variables/objects were not properly dimensionalized. but you're on the right track.

  5. #5
    Registered User
    Join Date
    06-15-2015
    Location
    Waltham, MA
    MS-Off Ver
    Windows 7 Professional
    Posts
    19

    Re: Run-time error '424' - Object Required HELP

    Successfully ran.

    Definitely appreciate your quick replies and assistance. When I have time, I will reply again to better understand exactly what those lines do that you added.

    For now- you are the best!
    Thanks
    Eric

  6. #6
    Registered User
    Join Date
    06-12-2015
    Location
    Maryland, USA
    MS-Off Ver
    2010
    Posts
    83

    Re: Run-time error '424' - Object Required HELP

    all good.

    If you like the solution, consider adding to my reputation (link on the left)

    Best of luck

+ 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 424 Object Required
    By ZuneidDassu in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-24-2014, 11:15 AM
  2. [SOLVED] Simple Calendar pop up macro --> error Run-time error '424': Object required
    By am_hawk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2013, 10:38 AM
  3. Run time error 424 Object required
    By Laik2013 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-13-2013, 01:46 AM
  4. Run-Time error 424 - Object required
    By Mr_Knows_Nothing in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-04-2012, 01:19 PM
  5. Run-time error '424' object required
    By PaPaDiZ in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2011, 05:31 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