# GrapeCity.CalcEngine.RangeReference.IntersectWith

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_CalcEngine_RangeReference_IntersectWith_" data-uid="GrapeCity.CalcEngine.RangeReference.IntersectWith*">IntersectWith Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_CalcEngine_RangeReference_IntersectWith_" data-uid="GrapeCity.CalcEngine.RangeReference.IntersectWith*"></a>
<h4 id="GrapeCity_CalcEngine_RangeReference_IntersectWith_GrapeCity_CalcEngine_RangeReference__" data-uid="GrapeCity.CalcEngine.RangeReference.IntersectWith(GrapeCity.CalcEngine.RangeReference@)">IntersectWith(ref RangeReference)</h4>
<div class="markdown level1 summary"><p>Intersects this <a class="xref" href="GrapeCity.CalcEngine.RangeReference.html">RangeReference</a> range with the specified <a class="xref" href="GrapeCity.CalcEngine.RangeReference.html">RangeReference</a> range.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RangeReference IntersectWith(ref RangeReference range)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function IntersectWith(ByRef range As RangeReference) As RangeReference</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.CalcEngine.RangeReference.html">RangeReference</a></td>
      <td><span class="parametername">range</span></td>
      <td><p>The <a class="xref" href="GrapeCity.CalcEngine.RangeReference.html">RangeReference</a> range to intersect with.</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.CalcEngine.RangeReference.html">RangeReference</a></td>
      <td><p>A <a class="xref" href="GrapeCity.CalcEngine.RangeReference.html">RangeReference</a> range represents the intersected <a class="xref" href="GrapeCity.CalcEngine.RangeReference.html">RangeReference</a> range.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_CalcEngine_RangeReference_IntersectWith_GrapeCity_CalcEngine_RangeReference___remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Make sure that all rows and columns are all absolute or relative.</p>
</div>
</div>
