Results 1 to 4 of 4

Run Time error '424'

Threaded View

Sc0tt1e Run Time error '424' 12-12-2013, 10:31 AM
Norie Re: Run Time error '424' 12-12-2013, 10:38 AM
Sc0tt1e Re: Run Time error '424' 12-12-2013, 11:11 AM
Norie Re: Run Time error '424' 12-12-2013, 11:14 AM
  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    640

    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?


    '   FR Non GRG Cases
    
    IF MTT_Script.UoW = "SA Review" And MTT_Script.Letter = "Non-Sophisticated" And GRG.Value = False And FD.Value = False Then
        Sheets("Sheet2").Select
        Range("D2:S32").Select
        Selection.ClearContents
        Selection.Font.Underline = xlUnderlineStyleNone
        Selection.Font.ColorIndex = 0
        With Selection
            .HorizontalAlignment = xlCenter
            .VerticalAlignment = xlCenter
            .MergeCells = True
            .WrapText = True
        Selection.Borders(xlDiagonalDown).LineStyle = xlNone
        Selection.Borders(xlDiagonalUp).LineStyle = xlNone
        With Selection.Borders(xlEdgeLeft)
            .LineStyle = xlContinuous
            .Weight = xlMedium
            .ColorIndex = xlAutomatic
        End With
        With Selection.Borders(xlEdgeTop)
            .LineStyle = xlContinuous
            .Weight = xlMedium
            .ColorIndex = xlAutomatic
        End With
        With Selection.Borders(xlEdgeBottom)
            .LineStyle = xlContinuous
            .Weight = xlMedium
            .ColorIndex = xlAutomatic
        End With
        With Selection.Borders(xlEdgeRight)
            .LineStyle = xlContinuous
            .Weight = xlMedium
            .ColorIndex = xlAutomatic
        End With
        Selection.Borders(xlInsideVertical).LineStyle = xlNone
        Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
            With Selection.Font
            .Name = "Arial"
            .Size = 22
            End With
            .Value = "“Each case is reviewed on an individual basis so I cannot provide an exact time frame.“" & vbNewLine & _
            vbNewLine & _
            "“However, once a case reaches File Review, then allowing for prioritisation of financially distressed customers in line with the FCA Guidelines, our experience is that it takes an average of " & Sheets("Sheet3").Range("H6") & " weeks before being passed on to the next stage of the review.”"
            Range("A1").Select
        End With
    Last edited by Sc0tt1e; 12-12-2013 at 10:52 AM.

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