# GrapeCity.Spreadsheet.CellValueChangedEventArgs.GetReference

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_CellValueChangedEventArgs_GetReference_" data-uid="GrapeCity.Spreadsheet.CellValueChangedEventArgs.GetReference*">GetReference Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_CellValueChangedEventArgs_GetReference_" data-uid="GrapeCity.Spreadsheet.CellValueChangedEventArgs.GetReference*"></a>
<h4 id="GrapeCity_Spreadsheet_CellValueChangedEventArgs_GetReference_System_Int32_GrapeCity_Spreadsheet_IWorksheet__" data-uid="GrapeCity.Spreadsheet.CellValueChangedEventArgs.GetReference(System.Int32,GrapeCity.Spreadsheet.IWorksheet@)">GetReference(int, out IWorksheet)</h4>
<div class="markdown level1 summary"><p>Gets an array of cell ranges which are changed recently.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Reference GetReference(int index, out IWorksheet worksheet)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetReference(index As Integer, ByRef worksheet As IWorksheet) As Reference</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.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>The index of changed cell reference.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a></td>
      <td><span class="parametername">worksheet</span></td>
      <td><p>The worksheet contains changed cell reference.</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="GrapeCity.Spreadsheet.Reference.html">Reference</a></td>
      <td><p>The cell changed reference at the specified index.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
