[]
Specifies the values for ExcelException that can be retrieved by accessing the Code property of an ExcelException object.
public enum ExcelExceptionCode
Public Enum ExcelExceptionCode
Name | Description |
---|---|
BiffStreamError | This stream is not a BIFF-formatted Excel file. |
CreateStreamError | The specified stream cannot be created. Check HRESULT for more information. |
ExcelSheetIndexOutOfRange | The specified Excel sheet index is outside of the allowable range for the specified Excel file. |
ExcelSheetNameError | The specified Excel sheet name is not supported in specified Excel file |
ExcelSheetNameNotFound | The specified Excel sheet name is not in the specified Excel file. |
FailedOnFileOpen | The file cannot be opened. Check HRESULT for more information. |
IncorrectPassword | The specified password is incorrect. |
NotStructuredStorage | This file is not a structured storage file. |
SharingViolation | There is a sharing violation error when trying to open this file. |
SpreadSheetIndexOutOfRange | The specified Spread sheet index is out of range. |
SpreadSheetNameNotFound | The specified Spread sheet name cannot be found. |
Unknown | There is an unknown error. Check HRESULT for more information. |