Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error code desriptions

Status
Not open for further replies.

plowmon

IS-IT--Management
May 24, 2001
3
CA
Does anyone know of a site that lists the descriptions of the various runtime errors that occur in VBA with Access 2k?

Thanks
Jeff
 
Try the following sub and make Top whatever value you want or make it a parameter of the call.

Public Sub ListErrors()

Dim intCtr As Integer
Const Top As Integer = 100
For intCtr = 1 To Top
If Left(Error(intCtr), 19) <> &quot;Application-defined&quot; Then
Debug.Print Error(intCtr)
End If
Next

End Sub

Steve King Growth follows a healthy professional curiosity
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top