# GrapeCity.Spreadsheet.IRange.Address

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_IRange_Address_" data-uid="GrapeCity.Spreadsheet.IRange.Address*">Address Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_IRange_Address_" data-uid="GrapeCity.Spreadsheet.IRange.Address*"></a>
<h4 id="GrapeCity_Spreadsheet_IRange_Address_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_ReferenceStyle_System_Boolean_GrapeCity_Spreadsheet_CellReference_System_Boolean_" data-uid="GrapeCity.Spreadsheet.IRange.Address(System.Boolean,System.Boolean,GrapeCity.Spreadsheet.ReferenceStyle,System.Boolean,GrapeCity.Spreadsheet.CellReference,System.Boolean)">Address(bool, bool, ReferenceStyle, bool, CellReference, bool)</h4>
<div class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that represents the range reference.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">string Address(bool rowAbsolute, bool columnAbsolute, ReferenceStyle refStyle, bool external, CellReference relativeTo, bool skipWorkbook = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Address(rowAbsolute As Boolean, columnAbsolute As Boolean, refStyle As ReferenceStyle, external As Boolean, relativeTo As CellReference, Optional skipWorkbook As Boolean = False) As String</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.boolean">bool</a></td>
      <td><span class="parametername">rowAbsolute</span></td>
      <td><p><code>true</code> to return the row part of the reference as an absolute reference.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">columnAbsolute</span></td>
      <td><p><code>true</code> to return the column part of the reference as an absolute reference.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.ReferenceStyle.html">ReferenceStyle</a></td>
      <td><span class="parametername">refStyle</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.ReferenceStyle.html">ReferenceStyle</a> value indicates the reference style.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">external</span></td>
      <td><p><code>true</code> to return the external reference; otherwise, <code>false</code> to return local reference.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.CellReference.html">CellReference</a></td>
      <td><span class="parametername">relativeTo</span></td>
      <td><p>The starting point for the relative reference if <code class="paramref">rowAbsolute</code> and <code class="paramref">columnAbsolute</code> are <code>false</code> and the <code class="paramref">refStyle</code> is <a class="xref" href="GrapeCity.Spreadsheet.ReferenceStyle.html#GrapeCity_Spreadsheet_ReferenceStyle_R1C1">R1C1</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">skipWorkbook</span></td>
      <td><p><code>true</code> to exlucde the workbook name; otherwise, <code>false</code> to include the workbook name.</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value represents the range reference.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_IRange_Address_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_ReferenceStyle_System_Boolean_GrapeCity_Spreadsheet_CellReference_System_Boolean__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If the reference contains more than one cell, RowAbsolute and ColumnAbsolute apply to all rows and columns.</p>
</div>


<a id="GrapeCity_Spreadsheet_IRange_Address_" data-uid="GrapeCity.Spreadsheet.IRange.Address*"></a>
<h4 id="GrapeCity_Spreadsheet_IRange_Address_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_ReferenceStyle_System_Boolean_System_String_" data-uid="GrapeCity.Spreadsheet.IRange.Address(System.Boolean,System.Boolean,GrapeCity.Spreadsheet.ReferenceStyle,System.Boolean,System.String)">Address(bool, bool, ReferenceStyle, bool, string)</h4>
<div class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that represents the range reference.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">string Address(bool rowAbsolute, bool columnAbsolute, ReferenceStyle refStyle, bool external, string relativeTo)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Address(rowAbsolute As Boolean, columnAbsolute As Boolean, refStyle As ReferenceStyle, external As Boolean, relativeTo As String) As String</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.boolean">bool</a></td>
      <td><span class="parametername">rowAbsolute</span></td>
      <td><p><code>true</code> to return the row part of the reference as an absolute reference.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">columnAbsolute</span></td>
      <td><p><code>true</code> to return the column part of the reference as an absolute reference.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.ReferenceStyle.html">ReferenceStyle</a></td>
      <td><span class="parametername">refStyle</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.ReferenceStyle.html">ReferenceStyle</a> value indicates the reference style.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">external</span></td>
      <td><p><code>true</code> to return the external reference; otherwise, <code>false</code> to return local reference.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">relativeTo</span></td>
      <td><p>The starting point for the relative reference if <code class="paramref">rowAbsolute</code> and <code class="paramref">columnAbsolute</code> are <code>false</code> and the <code class="paramref">refStyle</code> is <a class="xref" href="GrapeCity.Spreadsheet.ReferenceStyle.html#GrapeCity_Spreadsheet_ReferenceStyle_R1C1">R1C1</a>.</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value represents the range reference.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_IRange_Address_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_ReferenceStyle_System_Boolean_System_String__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If the reference contains more than one cell, RowAbsolute and ColumnAbsolute apply to all rows and columns.</p>
</div>


<a id="GrapeCity_Spreadsheet_IRange_Address_" data-uid="GrapeCity.Spreadsheet.IRange.Address*"></a>
<h4 id="GrapeCity_Spreadsheet_IRange_Address_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_ReferenceStyle_System_Boolean_GrapeCity_Spreadsheet_IRange_" data-uid="GrapeCity.Spreadsheet.IRange.Address(System.Boolean,System.Boolean,GrapeCity.Spreadsheet.ReferenceStyle,System.Boolean,GrapeCity.Spreadsheet.IRange)">Address(bool, bool, ReferenceStyle, bool, IRange)</h4>
<div class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that represents the range reference.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">string Address(bool rowAbsolute = true, bool columnAbsolute = true, ReferenceStyle refStyle = ReferenceStyle.A1, bool external = false, IRange relativeTo = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Address(Optional rowAbsolute As Boolean = True, Optional columnAbsolute As Boolean = True, Optional refStyle As ReferenceStyle = ReferenceStyle.A1, Optional external As Boolean = False, Optional relativeTo As IRange = Nothing) As String</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.boolean">bool</a></td>
      <td><span class="parametername">rowAbsolute</span></td>
      <td><p><code>true</code> to return the row part of the reference as an absolute reference.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">columnAbsolute</span></td>
      <td><p><code>true</code> to return the column part of the reference as an absolute reference.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.ReferenceStyle.html">ReferenceStyle</a></td>
      <td><span class="parametername">refStyle</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.ReferenceStyle.html">ReferenceStyle</a> value indicates the reference style.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">external</span></td>
      <td><p><code>true</code> to return the external reference; otherwise, <code>false</code> to return local reference.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.IRange.html">IRange</a></td>
      <td><span class="parametername">relativeTo</span></td>
      <td><p>The starting point for the relative reference if <code class="paramref">rowAbsolute</code> and <code class="paramref">columnAbsolute</code> are <code>false</code> and the <code class="paramref">refStyle</code> is <a class="xref" href="GrapeCity.Spreadsheet.ReferenceStyle.html#GrapeCity_Spreadsheet_ReferenceStyle_R1C1">R1C1</a>.</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value represents the range reference.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_IRange_Address_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_ReferenceStyle_System_Boolean_GrapeCity_Spreadsheet_IRange__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If the reference contains more than one cell, RowAbsolute and ColumnAbsolute apply to all rows and columns.</p>
</div>
</div>
