# FarPoint.Excel.ExcelExceptionCode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="FarPoint_Excel_ExcelExceptionCode" data-uid="FarPoint.Excel.ExcelExceptionCode" class="text-break">ExcelExceptionCode Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the values for ExcelException that can be retrieved
by accessing the Code property of an ExcelException object.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Excel.html">FarPoint.Excel</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Excel.dll</h6>
  <h5 id="FarPoint_Excel_ExcelExceptionCode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum ExcelExceptionCode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum ExcelExceptionCode</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_BiffStreamError">BiffStreamError</td>
        <td><p>This stream is not a BIFF-formatted Excel file.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_CreateStreamError">CreateStreamError</td>
        <td><p>The specified stream cannot be created.  Check HRESULT for more information.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_ExcelSheetIndexOutOfRange">ExcelSheetIndexOutOfRange</td>
        <td><p>The specified Excel sheet index is outside of the allowable range for the specified Excel file.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_ExcelSheetNameError">ExcelSheetNameError</td>
        <td><p>The specified Excel sheet name is not supported in specified Excel file</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_ExcelSheetNameNotFound">ExcelSheetNameNotFound</td>
        <td><p>The specified Excel sheet name is not in the specified Excel file.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_FailedOnFileOpen">FailedOnFileOpen</td>
        <td><p>The file cannot be opened.  Check HRESULT for more information.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_IncorrectPassword">IncorrectPassword</td>
        <td><p>The specified password is incorrect.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_NotStructuredStorage">NotStructuredStorage</td>
        <td><p>This file is not a structured storage file.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_SharingViolation">SharingViolation</td>
        <td><p>There is a sharing violation error when trying to open this file.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_SpreadSheetIndexOutOfRange">SpreadSheetIndexOutOfRange</td>
        <td><p>The specified Spread sheet index is out of range.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_SpreadSheetNameNotFound">SpreadSheetNameNotFound</td>
        <td><p>The specified Spread sheet name cannot be found.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelExceptionCode_Unknown">Unknown</td>
        <td><p>There is an unknown error.  Check HRESULT for more information.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
