+ Reply to Thread
Results 1 to 14 of 14

424 Object required on SOME versions of Excel

  1. #1
    Registered User
    Join Date
    02-15-2012
    Location
    Wales
    MS-Off Ver
    Excel 2007
    Posts
    5

    Question 424 Object required on SOME versions of Excel

    Hi all

    I have a small application in Excel's VB. When I try to use it, all I get is the "Run time error 424 Object required" error.

    However, one of my friend's said it worked without any problem.. I have used Excel 2007 and 2010, both giving me the error.

    The line with the problem is highlighted in green:

    Please Login or Register  to view this content.
    Last edited by mike8055; 02-16-2012 at 02:20 PM.

  2. #2
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: Looking for people to test my script = 424 object required

    Hi.
    Welcome to the forum. Upload the workbook and there will be people willing to help.
    For start you can check for any missing references in VBE->Tools->References. Maybe there is some additional control that is available on your friend's computer, but is missing on yours.
    If you are pleased with a member's answer then use the Star icon to rate it.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Looking for people to test my script = 424 object required

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    02-15-2012
    Location
    Wales
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: 424 Object required on SOME versions of Excel

    Oh ok, I've updated the title and post (with the code) now.

  5. #5
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: 424 Object required on SOME versions of Excel

    Are you sure your control is called Textname?
    Good luck.

  6. #6
    Registered User
    Join Date
    02-15-2012
    Location
    Wales
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: 424 Object required on SOME versions of Excel

    Well unless I'm being quite stupid.. my eyes are tired now.

    I've attached the excel document so anyone who wants to try on their version of Excel, you may.

  7. #7
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: 424 Object required on SOME versions of Excel

    well, as Rory suggested there is no control "TextName" nor radio buttons on the form
    there is no way this works on any friend's computer

  8. #8
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: 424 Object required on SOME versions of Excel

    It is a missing object.
    You have a reference set to the Microsoft Data Formatting Object library, which I do not have, so the control is not present and I too get the Object Required error on that line.

  9. #9
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: 424 Object required on SOME versions of Excel

    @Rory - I don't have missing references and I still get the error.
    @mike I see user form with 3 text boxes, 2 command buttons and a frame. Is that all that is supposed to be on the form?

  10. #10
    Registered User
    Join Date
    02-15-2012
    Location
    Wales
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: 424 Object required on SOME versions of Excel

    Yes, that is all on the form..

    And it did work on my friend's computer - seriously. How can this be fixed?

  11. #11
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: 424 Object required on SOME versions of Excel

    Mike, please, be serious ... I don't see the problem to admit that you are trying to adjust some code found on Internet. The code behind the form has nothing to do with the controls present on the form

  12. #12
    Registered User
    Join Date
    02-15-2012
    Location
    Wales
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: 424 Object required on SOME versions of Excel

    Erm FYI, this video shows it is WORKING:
    Last edited by mike8055; 02-16-2012 at 02:21 PM.

  13. #13
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: 424 Object required on SOME versions of Excel

    Probably what you were after:
    Attached Files Attached Files



  14. #14
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: 424 Object required on SOME versions of Excel

    well, it's obviously not the same app. and here is how it looked the original form for that code
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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