# GrapeCity.Documents.Excel.CellInfo.CellNameToIndex

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_CellInfo_CellNameToIndex_" data-uid="GrapeCity.Documents.Excel.CellInfo.CellNameToIndex*">CellNameToIndex Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_CellInfo_CellNameToIndex_" data-uid="GrapeCity.Documents.Excel.CellInfo.CellNameToIndex*"></a>
<h4 id="GrapeCity_Documents_Excel_CellInfo_CellNameToIndex_System_String_System_Int32__System_Int32__" data-uid="GrapeCity.Documents.Excel.CellInfo.CellNameToIndex(System.String,System.Int32@,System.Int32@)">CellNameToIndex(string, out int, out int)</h4>
<div class="markdown level1 summary"><p>Gets cell row and column according to its name(address).</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 CellNameToIndex(string name, out int row, out int column)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub CellNameToIndex(name As String, ByRef row As Integer, ByRef column As Integer)</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">name</span></td>
      <td><p>The cell name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>The row index.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>The column index.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
