# GrapeCity.Documents.Excel.IWorkbook.AutoParse

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_IWorkbook_AutoParse_" data-uid="GrapeCity.Documents.Excel.IWorkbook.AutoParse*">AutoParse Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_IWorkbook_AutoParse_" data-uid="GrapeCity.Documents.Excel.IWorkbook.AutoParse*"></a>
<h4 id="GrapeCity_Documents_Excel_IWorkbook_AutoParse" data-uid="GrapeCity.Documents.Excel.IWorkbook.AutoParse">AutoParse</h4>
<div class="markdown level1 summary"><p>Determines whether to automatically parse string values when setting a range value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool AutoParse { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Property AutoParse As Boolean</code></pre>
</div>
<h5 id="GrapeCity_Documents_Excel_IWorkbook_AutoParse_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Changes the behavior of setting the following kinds of string values:</p>
<ul><li>Numeric strings: try to parse the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> as <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></li><li>Date and time strings: try to parse the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> as <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> or <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a></li><li>Boolean strings: try to parse the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> as <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></li><li>Error strings: try to parse the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> as <a class="xref" href="GrapeCity.Documents.Excel.CalcError.html">CalcError</a></li><li>Empty strings: clear the cell value</li></ul>
</div>
</div>
