+ Reply to Thread
Results 1 to 4 of 4

Run Time error '424'

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Run Time error '424'

    I am getting this error code whenever I try to run this piece of code, it highlights the first line

    I've been checking the web and it saiys I needs an object indenifier. I have messed with the code and I have worked out the offending pieces of code are the GRG & FD values.

    I assume I have to dimension them as something (I assume it is them as they are tick boxes so no text is produced) but I have tried Dim GRG as Boolean but it just creates another error message (compile error, invalid qualifier).

    Does anyone have any ideas what I am not doing or what I am doing incorrectly, please?


    Please Login or Register  to view this content.
    Last edited by Sc0tt1e; 12-12-2013 at 10:52 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Run Time error '424'

    Don't dim them as anything, they already exist as checkbox objects.

    If you have been declaring them that's probably the cause of the problem.

    PS If the checkboxes are on the userform try using Me.GRG.Value and Me.FD.Value, Me refers to the userform I'm assuming this code is for.
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: Run Time error '424'

    Perfect, I hadn't defined the userform.

    All working now, thanks again Norie

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Run Time error '424'

    That wasn't the problem, you could have used GRG.Value and FD.Value, you don't actually need the Me.

+ 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. Cannot Publish Excel Pivot Chart - Run Time Error
    By crisb184 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2013, 07:04 AM
  2. [SOLVED] Error " Run-time error '1004': application defined or object defined error
    By lengwer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2013, 07:26 AM
  3. Replies: 7
    Last Post: 05-15-2013, 09:02 AM
  4. run-time error ;2147023179 (800706b5) time automation error interface unknown
    By karthik72 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2012, 09:31 AM
  5. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09: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