(1)On Error Resume Next N = 1 / 0 ' cause an error If Err.Number <> 0 Then N = 1 End If (2) On Error Goto ErrHandler1: ErrHandler1: ' error handling code MsgBox "error."
Resume Next End Sub
沒有留言:
張貼留言