# GrapeCity.Spreadsheet.IValidation.Formula2

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_IValidation_Formula2_" data-uid="GrapeCity.Spreadsheet.IValidation.Formula2*">Formula2 Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_IValidation_Formula2_" data-uid="GrapeCity.Spreadsheet.IValidation.Formula2*"></a>
<h4 id="GrapeCity_Spreadsheet_IValidation_Formula2" data-uid="GrapeCity.Spreadsheet.IValidation.Formula2">Formula2</h4>
<div class="markdown level1 summary"><p>Gets the value or expression associated with the second part of a conditional format or data validation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">string Formula2 { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">ReadOnly Property Formula2 As String</code></pre>
</div>
<h5 class="propertyValue">Property Value</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.string">string</a></td>
      <td><p>A string value represents a constant value, a string value, a cell reference, or a formula.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_IValidation_Formula2_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Used only when the data validation conditional format <a class="xref" href="GrapeCity.Spreadsheet.IValidation.Operator.html#GrapeCity_Spreadsheet_IValidation_Operator">Operator</a> property is <a class="xref" href="GrapeCity.Spreadsheet.DataValidationOperator.html#GrapeCity_Spreadsheet_DataValidationOperator_Between">Between</a> or <a class="xref" href="GrapeCity.Spreadsheet.DataValidationOperator.html#GrapeCity_Spreadsheet_DataValidationOperator_NotBetween">NotBetween</a>.</p>
</div>
</div>
