# Excel.IO.ErrorCode

## Content

# Enumeration: ErrorCode

[Excel](../modules/Excel).[IO](../modules/Excel.IO).ErrorCode

Specifies the excel io error code.

## Table of contents

### Enumeration members

- [fileFormatError](Excel.IO.ErrorCode#fileformaterror)
- [fileIOError](Excel.IO.ErrorCode#fileioerror)
- [invalidPassword](Excel.IO.ErrorCode#invalidpassword)
- [noPassword](Excel.IO.ErrorCode#nopassword)

## Enumeration members

### <a id="fileformaterror" name="fileformaterror"></a> fileFormatError

• **fileFormatError** = `1`

 Incorrect file format.

___

### <a id="fileioerror" name="fileioerror"></a> fileIOError

• **fileIOError** = `0`

 File read and write exception.

___

### <a id="invalidpassword" name="invalidpassword"></a> invalidPassword

• **invalidPassword** = `3`

 The specified password is incorrect.

___

### <a id="nopassword" name="nopassword"></a> noPassword

• **noPassword** = `2`

 The Excel file cannot be opened because the workbook/worksheet is password protected.
