Problem for error
Closed
Lio
-
Mar 15, 2009 at 04:33 AM
lady.red81 Posts 1 Registration date Sunday March 15, 2009 Status Member Last seen March 16, 2009 - Mar 16, 2009 at 06:03 AM
lady.red81 Posts 1 Registration date Sunday March 15, 2009 Status Member Last seen March 16, 2009 - Mar 16, 2009 at 06:03 AM
Related:
- Problem for error
- Network error occurred - Guide
- Cmos checksum error - Guide
- Bios rom checksum error - Guide
- Error code: 230000 ✓ - Internet & Social Networks Forum
- Find cl/en/st modules error ✓ - Counter Strike (CS) Forum
1 response
lady.red81
Posts
1
Registration date
Sunday March 15, 2009
Status
Member
Last seen
March 16, 2009
Mar 16, 2009 at 06:03 AM
Mar 16, 2009 at 06:03 AM
hi,
Use the On error Resume Next feature to locate the error by checking the err.number property.
Sub TrySomething
On error Resume Next
--- some code executing
If err.number <> 0 Then
sendmail(err.description)
Exit Sub
End If
--- some other code executing
If err.number <> 0 Then
sendmail(err.description)
Exit Sub
End If
End Sub
Use the On error Resume Next feature to locate the error by checking the err.number property.
Sub TrySomething
On error Resume Next
--- some code executing
If err.number <> 0 Then
sendmail(err.description)
Exit Sub
End If
--- some other code executing
If err.number <> 0 Then
sendmail(err.description)
Exit Sub
End If
End Sub