# FarPoint.Win.Spread.Dialogs.BuiltInDialogs.FormatCells

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Dialogs_BuiltInDialogs_FormatCells_" data-uid="FarPoint.Win.Spread.Dialogs.BuiltInDialogs.FormatCells*">FormatCells Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Dialogs_BuiltInDialogs_FormatCells_" data-uid="FarPoint.Win.Spread.Dialogs.BuiltInDialogs.FormatCells*"></a>
<h4 id="FarPoint_Win_Spread_Dialogs_BuiltInDialogs_FormatCells_GrapeCity_Spreadsheet_IRange_FarPoint_Win_Spread_FormatCells_FormatCellsTab_" data-uid="FarPoint.Win.Spread.Dialogs.BuiltInDialogs.FormatCells(GrapeCity.Spreadsheet.IRange,FarPoint.Win.Spread.FormatCells.FormatCellsTab)">FormatCells(IRange, FormatCellsTab)</h4>
<div class="markdown level1 summary"><p>Gets the Format Cells dialog that allows to customize style settings of the specified range.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static FormatCells FormatCells(IRange cells, FormatCells.FormatCellsTab activeTab = FormatCellsTab.Number)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function FormatCells(cells As IRange, Optional activeTab As FormatCells.FormatCellsTab = FormatCellsTab.Number) As FormatCells</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="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.IRange.html">IRange</a></td>
      <td><span class="parametername">cells</span></td>
      <td><p>The <a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.IRange.html">IRange</a> object indicates the specified range to edit.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.FormatCells.html">FormatCells</a>.<a class="xref" href="FarPoint.Win.Spread.FormatCells.FormatCellsTab.html">FormatCellsTab</a></td>
      <td><span class="parametername">activeTab</span></td>
      <td><p>The default tab to display.</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="FarPoint.Win.Spread.FormatCells.html">FormatCells</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.form">Form</a> object represents the Format Cells dialog.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Dialogs_BuiltInDialogs_FormatCells_" data-uid="FarPoint.Win.Spread.Dialogs.BuiltInDialogs.FormatCells*"></a>
<h4 id="FarPoint_Win_Spread_Dialogs_BuiltInDialogs_FormatCells_FarPoint_Win_Spread_CellType_IRichTextEditor_" data-uid="FarPoint.Win.Spread.Dialogs.BuiltInDialogs.FormatCells(FarPoint.Win.Spread.CellType.IRichTextEditor)">FormatCells(IRichTextEditor)</h4>
<div class="markdown level1 summary"><p>Shows the Format Cells dialog that allows to customize font for the rich text editor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void FormatCells(IRichTextEditor richTextEditor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub FormatCells(richTextEditor As IRichTextEditor)</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><span class="xref">IRichTextEditor</span></td>
      <td><span class="parametername">richTextEditor</span></td>
      <td><p>A <span class="xref">FarPoint.Win.Spread.CellType.IRichTextEditor</span> object indicates the rich text editor.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
