Returns the last error message.

Type Info:

LastError As String
Example:
Dim ErrorColl As Errors
Dim LastErrorMsg As String

Set ErrorColl = Application.Errors
LastErrorMsg = ErrorColl.LastError
Remarks: Read-only property.
See also:

Class Errors

Last Updated: 03/10/04