VB Code:
Private Sub Form_Load() On Error GoTo ErrorHandler code here code here call function1 call function2 ErrorHandler: MsgBox ErrorPrefix & "Error id: " & err & ", " & Error, vbCritical, version & " - error!" end sub
function1 and function2 have error handling like that too
but whe i start my form up, it keeps msgboxing but the errorid and message are blank




Reply With Quote