Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default System error &H8000FFFF (-2147418113)

Hallo.

What is message: "System error &H8000FFFF (-2147418113)"

Thank you

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default System error &H8000FFFF (-2147418113)

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)




"Clovcek" wrote in message
...
Hallo.

What is message: "System error &H8000FFFF (-2147418113)"

Thank you



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default System error &H8000FFFF (-2147418113)

Code in form:
-------------------------------------
Private Sub cboEnd_Click()
Unload Me
End
End Sub

Private Sub optUvolneniTechnologemAno_Change()
If optUvolneniTechnologemAno Then
lblDatumUvolneni.Visible = True
txtDatumUvolneni.Visible = True
lblUvolnil.Visible = True
cboUvolnil.Visible = True
lblDuvodNeuvolneni.Visible = False
txtDuvodNeuvolneni.Visible = False
Else
lblDuvodNeuvolneni.Visible = True
txtDuvodNeuvolneni.Visible = True
lblDatumUvolneni.Visible = False
txtDatumUvolneni.Visible = False
lblUvolnil.Visible = False
cboUvolnil.Visible = False
End If
End Sub

Private Sub optUvolneniTechnologemNe_Change()
If optUvolneniTechnologemNe Then
lblDuvodNeuvolneni.Visible = True
txtDuvodNeuvolneni.Visible = True
lblDatumUvolneni.Visible = False
txtDatumUvolneni.Visible = False
lblUvolnil.Visible = False
cboUvolnil.Visible = False
Else
lblDatumUvolneni.Visible = True
txtDatumUvolneni.Visible = True
lblUvolnil.Visible = True
cboUvolnil.Visible = True
lblDuvodNeuvolneni.Visible = False
txtDuvodNeuvolneni.Visible = False
End If
End Sub

Private Sub UserForm_Initialize()

With mpKarty.Pages("pgKarta1")
.Caption = "Hlavička"
.ControlTipText = "Hlavička operace"
End With
Sheets("Data").Activate
Range("A2").Select
Do
If ActiveCell.Value = Empty Then Exit Do
cboTechnolog.AddItem ActiveCell.Value
cboUvolnil.AddItem ActiveCell.Value
ActiveCell.Offset(1, 0).Select
Loop

End Sub
----------------------------

If you need image of form, send me you e-mail address.
Since book doesn't go save, cannot him send.







Chip Pearson p*še:

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)




"Clov*cek" wrote in message
...
Hallo.

What is message: "System error &H8000FFFF (-2147418113)"

Thank you




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error varying from System to System wilro85[_18_] Excel Programming 7 July 19th 06 06:26 PM
system errror &H8000FFFF Harikarishna New Users to Excel 1 July 8th 06 02:01 AM
File/Path Error, then &H8000FFFF Anthony Fok Excel Discussion (Misc queries) 1 July 28th 05 11:59 PM
System Error &H8000FFFF (-2147418113). Catastrophic Failure poppy Excel Programming 0 May 30th 05 01:40 PM
system error &H8000FFFF steve Excel Programming 2 January 7th 04 09:22 AM


All times are GMT +1. The time now is 03:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"