Solved

Error Number

Posted on 2001-09-13
2
246 Views
Last Modified: 2008-03-17
If I have this:

If err.Number = -2147217843 Then
.
.
end if

the err.Number = -2147217843 izzit predefined? or programmer defined?

If it's predefined how can I get this no?
0
Comment
Question by:Phoebe_Yi
  • 2
2 Comments
 
LVL 50

Accepted Solution

by:
Ryan Chong earned 5 total points
ID: 6481405
An error message is generated (Err.Number, as well as Err.Description, see more on "Err" on MSDN) when an error occurs when running the application.

The Err.Number is Predefined.
0
 
LVL 50

Expert Comment

by:Ryan Chong
ID: 6481408
> see more on "Err" on MSDN

Shoud be

see more on "Err object" on MSDN

regards.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question