You need to call the FormatMessage API function to translate the system
error code to descriptive text. I have a procedure on my web site called
GetSystemErrorMessageText that declares all the relevant constants, takes
care of the string buffer handling, and returns a VBA string containing the
error message. See
http://www.cpearson.com/excel/FormatMessage.htm .
Dim MsgText As String
Dim ErrNum As Long
ErrNum = &H8000FFFF
MsgText = GetSystemErrorMessageText(ErrNum)
Debug.Print MsgText
In your case, FormatMessage for &H8000FFFF returns "Catastrophic failure".
Not very descriptive. Some BAD happened. Could you post the code that
produces the error?
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com
(email address is on the web site)