# C1.C1Excel.CompatibilityMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_C1Excel_CompatibilityMode" data-uid="C1.C1Excel.CompatibilityMode" class="text-break">CompatibilityMode Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies limits to sheet size that correspond to specific versions
of Microsoft Excel.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Excel.html">C1.C1Excel</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Excel.4.8.dll</h6>
  <h5 id="C1_C1Excel_CompatibilityMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum CompatibilityMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum CompatibilityMode</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="C1_C1Excel_CompatibilityMode_Excel2003">Excel2003</td>
        <td><p>Sheets may have up to 65,536 rows and 256 columns. Workbooks may have up to 4050 unique cell styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_CompatibilityMode_Excel2007">Excel2007</td>
        <td><p>Sheets may have up to 1,048,576 rows and 18,278 columns. Workbooks may have up to 65,536 unique cell styles.</p>
<p>Workbooks that exceed the Excel2003 limits must be saved in OpenXml format instead of XLS.</p>
<p>It may not be possible to open these workbooks with versions earlier than Excel 2007 (C1Excel will still open them correctly).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_CompatibilityMode_NoLimits">NoLimits</td>
        <td><p>No size limits are enforced.</p>
<p>It may not be possible to open these workbooks with any version of Excel (C1Excel will still open them correctly).</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
