# FarPoint.Web.Spread.FpSpread.OpenExcel

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*">OpenExcel Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String)">OpenExcel(string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads it into the Spread component.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file to open</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.String)">OpenExcel(string, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads it into the Spread component.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, password As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>The Password</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,FarPoint.Excel.ExcelWarningList)">OpenExcel(string, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file into the Spread component keeping track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, warningList As ExcelWarningList) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_Int32_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.Int32,System.String)">OpenExcel(string, int, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads the specified Excel sheet (by name) into the specified sheet of the Spread component (by index).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, int spreadSheetIndex, string excelSheetName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, spreadSheetIndex As Integer, excelSheetName As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of the file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_String_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.String,System.String)">OpenExcel(string, string, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads the specified Excel sheet (by name) into the specified sheet of the Spread component (by name).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, string spreadSheetName, string excelSheetName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, spreadSheetName As String, excelSheetName As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of the file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">spreadSheetName</span></td>
      <td><p>Name of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.Int32,System.Int32)">OpenExcel(string, int, int)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads the specified Excel sheet (by index) into the specified sheet of the Spread component (by index).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, int spreadSheetIndex, int excelSheetIndex)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, spreadSheetIndex As Integer, excelSheetIndex As Integer) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of the file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">excelSheetIndex</span></td>
      <td><p>Index of the Excel sheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_Int32_System_Int32_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.Int32,System.Int32,FarPoint.Excel.ExcelWarningList)">OpenExcel(string, int, int, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads the specified Excel sheet into the specified sheet of the Spread component
keeping track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, int spreadSheetIndex, int excelSheetIndex, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, spreadSheetIndex As Integer, excelSheetIndex As Integer, warningList As ExcelWarningList) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of the file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">excelSheetIndex</span></td>
      <td><p>Index of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_FarPoint_Excel_ExcelOpenFlags_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,FarPoint.Excel.ExcelOpenFlags)">OpenExcel(string, ExcelOpenFlags)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file into the Spread component including the specified parts
of the spreadsheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, ExcelOpenFlags excelOpenFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, excelOpenFlags As ExcelOpenFlags) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_FarPoint_Excel_ExcelOpenFlags_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,FarPoint.Excel.ExcelOpenFlags,FarPoint.Excel.ExcelWarningList)">OpenExcel(string, ExcelOpenFlags, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file into the Spread component including the specified parts
and keeps track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, ExcelOpenFlags excelOpenFlags, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, excelOpenFlags As ExcelOpenFlags, warningList As ExcelWarningList) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_FarPoint_Excel_ExcelOpenFlags_FarPoint_Excel_ExcelWarningList_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,FarPoint.Excel.ExcelOpenFlags,FarPoint.Excel.ExcelWarningList,System.String)">OpenExcel(string, ExcelOpenFlags, ExcelWarningList, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file into the Spread component including the specified parts
and keeps track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, ExcelOpenFlags excelOpenFlags, ExcelWarningList warningList, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, excelOpenFlags As ExcelOpenFlags, warningList As ExcelWarningList, password As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>The password</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_Int32_System_String_FarPoint_Excel_ExcelOpenFlags_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.Int32,System.String,FarPoint.Excel.ExcelOpenFlags)">OpenExcel(string, int, string, ExcelOpenFlags)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, int spreadSheetIndex, string excelSheetName, ExcelOpenFlags excelOpenFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, spreadSheetIndex As Integer, excelSheetName As String, excelOpenFlags As ExcelOpenFlags) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of the file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_Int32_System_String_FarPoint_Excel_ExcelOpenFlags_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.Int32,System.String,FarPoint.Excel.ExcelOpenFlags,System.String)">OpenExcel(string, int, string, ExcelOpenFlags, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, int spreadSheetIndex, string excelSheetName, ExcelOpenFlags excelOpenFlags, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, spreadSheetIndex As Integer, excelSheetName As String, excelOpenFlags As ExcelOpenFlags, password As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of the file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>The password</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_String_System_String_FarPoint_Excel_ExcelOpenFlags_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.String,System.String,FarPoint.Excel.ExcelOpenFlags)">OpenExcel(string, string, string, ExcelOpenFlags)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, string spreadSheetName, string excelSheetName, ExcelOpenFlags excelOpenFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, spreadSheetName As String, excelSheetName As String, excelOpenFlags As ExcelOpenFlags) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of the file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">spreadSheetName</span></td>
      <td><p>Name of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_String_System_String_FarPoint_Excel_ExcelOpenFlags_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.String,System.String,FarPoint.Excel.ExcelOpenFlags,System.String)">OpenExcel(string, string, string, ExcelOpenFlags, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, string spreadSheetName, string excelSheetName, ExcelOpenFlags excelOpenFlags, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, spreadSheetName As String, excelSheetName As String, excelOpenFlags As ExcelOpenFlags, password As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of the file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">spreadSheetName</span></td>
      <td><p>Name of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>The password.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_Int32_System_Int32_FarPoint_Excel_ExcelOpenFlags_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.Int32,System.Int32,FarPoint.Excel.ExcelOpenFlags)">OpenExcel(string, int, int, ExcelOpenFlags)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, int spreadSheetIndex, int excelSheetIndex, ExcelOpenFlags excelOpenFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, spreadSheetIndex As Integer, excelSheetIndex As Integer, excelOpenFlags As ExcelOpenFlags) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of the file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">excelSheetIndex</span></td>
      <td><p>Index of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_Int32_System_Int32_FarPoint_Excel_ExcelOpenFlags_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.Int32,System.Int32,FarPoint.Excel.ExcelOpenFlags,FarPoint.Excel.ExcelWarningList)">OpenExcel(string, int, int, ExcelOpenFlags, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts and keeps track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, int spreadSheetIndex, int excelSheetIndex, ExcelOpenFlags excelOpenFlags, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, spreadSheetIndex As Integer, excelSheetIndex As Integer, excelOpenFlags As ExcelOpenFlags, warningList As ExcelWarningList) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of the file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">excelSheetIndex</span></td>
      <td><p>Index of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_String_System_Int32_System_Int32_FarPoint_Excel_ExcelOpenFlags_FarPoint_Excel_ExcelWarningList_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.String,System.Int32,System.Int32,FarPoint.Excel.ExcelOpenFlags,FarPoint.Excel.ExcelWarningList,System.String)">OpenExcel(string, int, int, ExcelOpenFlags, ExcelWarningList, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts and keeps track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(string fileName, int spreadSheetIndex, int excelSheetIndex, ExcelOpenFlags excelOpenFlags, ExcelWarningList warningList, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(fileName As String, spreadSheetIndex As Integer, excelSheetIndex As Integer, excelOpenFlags As ExcelOpenFlags, warningList As ExcelWarningList, password As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of the file to open</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">excelSheetIndex</span></td>
      <td><p>Index of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>The password</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream)">OpenExcel(Stream)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream and loads it into the Spread component.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.String)">OpenExcel(Stream, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream and loads it into the Spread component.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, password As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>The password</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,FarPoint.Excel.ExcelWarningList)">OpenExcel(Stream, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream into the Spread component keeping track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, warningList As ExcelWarningList) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_Int32_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.Int32,System.String)">OpenExcel(Stream, int, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream and loads the specified Excel sheet (by name) into this sheet
of the Spread component (by index).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, int spreadSheetIndex, string excelSheetName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, spreadSheetIndex As Integer, excelSheetName As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_String_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.String,System.String)">OpenExcel(Stream, string, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream and loads the specified Excel sheet (by name) into this sheet
of the Spread component (by name).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, string spreadSheetName, string excelSheetName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, spreadSheetName As String, excelSheetName As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">spreadSheetName</span></td>
      <td><p>Name of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.Int32,System.Int32)">OpenExcel(Stream, int, int)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream and loads the specified Excel sheet (by index) into this sheet
of the Spread component (by index).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, int spreadSheetIndex, int excelSheetIndex)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, spreadSheetIndex As Integer, excelSheetIndex As Integer) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the Spread component sheet into which the Excel sheet is to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">excelSheetIndex</span></td>
      <td><p>Index of the Excel sheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_Int32_System_Int32_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.Int32,System.Int32,FarPoint.Excel.ExcelWarningList)">OpenExcel(Stream, int, int, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream and loads the specified Excel sheet (by index) into this sheet
of the Spread component (by index) keeping track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, int spreadSheetIndex, int excelSheetIndex, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, spreadSheetIndex As Integer, excelSheetIndex As Integer, warningList As ExcelWarningList) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the Spread component sheet into which the Excel sheet is to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">excelSheetIndex</span></td>
      <td><p>Index of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_FarPoint_Excel_ExcelOpenFlags_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,FarPoint.Excel.ExcelOpenFlags)">OpenExcel(Stream, ExcelOpenFlags)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream into the Spread component including the specified parts
of the spreadsheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, ExcelOpenFlags excelOpenFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, excelOpenFlags As ExcelOpenFlags) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_FarPoint_Excel_ExcelOpenFlags_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,FarPoint.Excel.ExcelOpenFlags,FarPoint.Excel.ExcelWarningList)">OpenExcel(Stream, ExcelOpenFlags, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream into the Spread component including the specified parts
keeping track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, ExcelOpenFlags excelOpenFlags, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, excelOpenFlags As ExcelOpenFlags, warningList As ExcelWarningList) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_FarPoint_Excel_ExcelOpenFlags_FarPoint_Excel_ExcelWarningList_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,FarPoint.Excel.ExcelOpenFlags,FarPoint.Excel.ExcelWarningList,System.String)">OpenExcel(Stream, ExcelOpenFlags, ExcelWarningList, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream into the Spread component including the specified parts
keeping track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, ExcelOpenFlags excelOpenFlags, ExcelWarningList warningList, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, excelOpenFlags As ExcelOpenFlags, warningList As ExcelWarningList, password As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>The password</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_Int32_System_String_FarPoint_Excel_ExcelOpenFlags_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.Int32,System.String,FarPoint.Excel.ExcelOpenFlags)">OpenExcel(Stream, int, string, ExcelOpenFlags)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, int spreadSheetIndex, string excelSheetName, ExcelOpenFlags excelOpenFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, spreadSheetIndex As Integer, excelSheetName As String, excelOpenFlags As ExcelOpenFlags) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_Int32_System_String_FarPoint_Excel_ExcelOpenFlags_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.Int32,System.String,FarPoint.Excel.ExcelOpenFlags,System.String)">OpenExcel(Stream, int, string, ExcelOpenFlags, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, int spreadSheetIndex, string excelSheetName, ExcelOpenFlags excelOpenFlags, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, spreadSheetIndex As Integer, excelSheetName As String, excelOpenFlags As ExcelOpenFlags, password As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>The password</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_String_System_String_FarPoint_Excel_ExcelOpenFlags_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.String,System.String,FarPoint.Excel.ExcelOpenFlags)">OpenExcel(Stream, string, string, ExcelOpenFlags)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, string spreadSheetName, string excelSheetName, ExcelOpenFlags excelOpenFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, spreadSheetName As String, excelSheetName As String, excelOpenFlags As ExcelOpenFlags) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">spreadSheetName</span></td>
      <td><p>Name of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_String_System_String_FarPoint_Excel_ExcelOpenFlags_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.String,System.String,FarPoint.Excel.ExcelOpenFlags,System.String)">OpenExcel(Stream, string, string, ExcelOpenFlags, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel stream and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, string spreadSheetName, string excelSheetName, ExcelOpenFlags excelOpenFlags, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, spreadSheetName As String, excelSheetName As String, excelOpenFlags As ExcelOpenFlags, password As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">spreadSheetName</span></td>
      <td><p>Name of the sheet in the Spread component into which to load the Excel sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelSheetName</span></td>
      <td><p>Name of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>The password.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_Int32_System_Int32_FarPoint_Excel_ExcelOpenFlags_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.Int32,System.Int32,FarPoint.Excel.ExcelOpenFlags)">OpenExcel(Stream, int, int, ExcelOpenFlags)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file from a stream and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, int spreadSheetIndex, int excelSheetIndex, ExcelOpenFlags excelOpenFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, spreadSheetIndex As Integer, excelSheetIndex As Integer, excelOpenFlags As ExcelOpenFlags) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the Spread sheet into which the Excel sheet is to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">excelSheetIndex</span></td>
      <td><p>Index of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_Int32_System_Int32_FarPoint_Excel_ExcelOpenFlags_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.Int32,System.Int32,FarPoint.Excel.ExcelOpenFlags,FarPoint.Excel.ExcelWarningList)">OpenExcel(Stream, int, int, ExcelOpenFlags, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file from a stream and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts and keeps track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, int spreadSheetIndex, int excelSheetIndex, ExcelOpenFlags excelOpenFlags, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, spreadSheetIndex As Integer, excelSheetIndex As Integer, excelOpenFlags As ExcelOpenFlags, warningList As ExcelWarningList) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the Spread sheet into which the Excel sheet is to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">excelSheetIndex</span></td>
      <td><p>Index of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_FpSpread_OpenExcel_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel*"></a>
<h4 id="FarPoint_Web_Spread_FpSpread_OpenExcel_System_IO_Stream_System_Int32_System_Int32_FarPoint_Excel_ExcelOpenFlags_FarPoint_Excel_ExcelWarningList_System_String_" data-uid="FarPoint.Web.Spread.FpSpread.OpenExcel(System.IO.Stream,System.Int32,System.Int32,FarPoint.Excel.ExcelOpenFlags,FarPoint.Excel.ExcelWarningList,System.String)">OpenExcel(Stream, int, int, ExcelOpenFlags, ExcelWarningList, string)</h4>
<div class="markdown level1 summary"><p>Opens an Excel file from a stream and loads the specified Excel sheet into the specified sheet
of the Spread component including the specified parts and keeps track of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool OpenExcel(Stream stream, int spreadSheetIndex, int excelSheetIndex, ExcelOpenFlags excelOpenFlags, ExcelWarningList warningList, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function OpenExcel(stream As Stream, spreadSheetIndex As Integer, excelSheetIndex As Integer, excelOpenFlags As ExcelOpenFlags, warningList As ExcelWarningList, password As String) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream that contains an Excel Compound Storage file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">spreadSheetIndex</span></td>
      <td><p>Index of the Spread sheet into which the Excel sheet is to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">excelSheetIndex</span></td>
      <td><p>Index of the Excel sheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelOpenFlags.html">ExcelOpenFlags</a></td>
      <td><span class="parametername">excelOpenFlags</span></td>
      <td><p>Which parts of the spreadsheet to load</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of warning messages that occur during this operation</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>The password</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
