• Error Handling

    Author
    Topic
    #465102
    Code:
    Sub Macro2()
          ' Suppress error messages temporarily 'What type of error's??
          On Error Resume Next
    ..........
                ' Stop suppressing error messages
          On Error GoTo 0
         End Sub

    With a lot of help from the lounge over recent years, I have learned a lot to do with excel vba, and for that I am hugely grateful. I have never quite got my head around the above, however, so I would appreciate in simplistic terms if anyone could offer me some explanation of what this is useful for, where it should be used, and when etc.

    Viewing 0 reply threads
    Author
    Replies
    Viewing 0 reply threads
    Reply To: Error Handling

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: