Function: ExtensionProc
Version 1.2+

Public Sub ExtensionProc()

ExtensionProc is called when your plug-in is chosen from the Plug-ins menu. It can use the ErrorProc function to display error messages.

Example

Public Sub ExtensionProc()
    On Error GoTo ExtensionError
    
    MsgBox "Hello World!", vbInformation, "Test Plug-in"
    Exit Sub
    
ExtensionError:
    Select Case EF.ErrorProc(Err)
        Case 1
            Resume
        Case 2
            Resume Next
        Case 3
            MsgBox "Abort!"
    End Select
End Sub