# GrapeCity.Spreadsheet.IHyperlinks.Add

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_IHyperlinks_Add_" data-uid="GrapeCity.Spreadsheet.IHyperlinks.Add*">Add Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_IHyperlinks_Add_" data-uid="GrapeCity.Spreadsheet.IHyperlinks.Add*"></a>
<h4 id="GrapeCity_Spreadsheet_IHyperlinks_Add_System_Int32_System_Int32_System_String_System_String_System_String_System_String_" data-uid="GrapeCity.Spreadsheet.IHyperlinks.Add(System.Int32,System.Int32,System.String,System.String,System.String,System.String)">Add(int, int, string, string, string, string)</h4>
<div class="markdown level1 summary"><p>Adds a hyperlink to 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">IHyperlink Add(int row, int column, string address, string subAddress = null, string screenTip = null, string display = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Add(row As Integer, column As Integer, address As String, Optional subAddress As String = Nothing, Optional screenTip As String = Nothing, Optional display As String = Nothing) As IHyperlink</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">row</span></td>
      <td><p>The row for the hyperlink</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 for the hyperlink</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">address</span></td>
      <td><p>The address of the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">subAddress</span></td>
      <td><p>The subaddress of the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">screenTip</span></td>
      <td><p>The screen tip to be displayed when the mouse pointer is paused over the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">display</span></td>
      <td><p>The text to be displayed for the hyperlink.</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.IHyperlink.html">IHyperlink</a></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.IHyperlink.html">IHyperlink</a> object that represents the new hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_IHyperlinks_Add_" data-uid="GrapeCity.Spreadsheet.IHyperlinks.Add*"></a>
<h4 id="GrapeCity_Spreadsheet_IHyperlinks_Add_System_Int32_System_Int32_System_Int32_System_Int32_System_String_System_String_System_String_System_String_" data-uid="GrapeCity.Spreadsheet.IHyperlinks.Add(System.Int32,System.Int32,System.Int32,System.Int32,System.String,System.String,System.String,System.String)">Add(int, int, int, int, string, string, string, string)</h4>
<div class="markdown level1 summary"><p>Adds a hyperlink to 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">IHyperlink Add(int row, int column, int row2, int column2, string address, string subAddress = null, string screenTip = null, string display = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Add(row As Integer, column As Integer, row2 As Integer, column2 As Integer, address As String, Optional subAddress As String = Nothing, Optional screenTip As String = Nothing, Optional display As String = Nothing) As IHyperlink</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">row</span></td>
      <td><p>The top row for the hyperlink</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 left column for the hyperlink</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row2</span></td>
      <td><p>The bottom row for the hyperlink</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column2</span></td>
      <td><p>The right column for the hyperlink</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">address</span></td>
      <td><p>The address of the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">subAddress</span></td>
      <td><p>The subaddress of the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">screenTip</span></td>
      <td><p>The screen tip to be displayed when the mouse pointer is paused over the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">display</span></td>
      <td><p>The text to be displayed for the hyperlink.</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.IHyperlink.html">IHyperlink</a></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.IHyperlink.html">IHyperlink</a> object that represents the new hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_IHyperlinks_Add_" data-uid="GrapeCity.Spreadsheet.IHyperlinks.Add*"></a>
<h4 id="GrapeCity_Spreadsheet_IHyperlinks_Add_System_String_System_String_System_String_System_String_System_String_" data-uid="GrapeCity.Spreadsheet.IHyperlinks.Add(System.String,System.String,System.String,System.String,System.String)">Add(string, string, string, string, string)</h4>
<div class="markdown level1 summary"><p>Adds a hyperlink to 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">IHyperlink Add(string range, string address, string subAddress = null, string screenTip = null, string display = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Add(range As String, address As String, Optional subAddress As String = Nothing, Optional screenTip As String = Nothing, Optional display As String = Nothing) As IHyperlink</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">range</span></td>
      <td><p>The range for the hyperlink</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">address</span></td>
      <td><p>The address of the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">subAddress</span></td>
      <td><p>The subaddress of the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">screenTip</span></td>
      <td><p>The screen tip to be displayed when the mouse pointer is paused over the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">display</span></td>
      <td><p>The text to be displayed for the hyperlink.</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.IHyperlink.html">IHyperlink</a></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.IHyperlink.html">IHyperlink</a> object that represents the new hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_IHyperlinks_Add_" data-uid="GrapeCity.Spreadsheet.IHyperlinks.Add*"></a>
<h4 id="GrapeCity_Spreadsheet_IHyperlinks_Add_GrapeCity_Spreadsheet_Drawing_IShape_System_String_System_String_System_String_" data-uid="GrapeCity.Spreadsheet.IHyperlinks.Add(GrapeCity.Spreadsheet.Drawing.IShape,System.String,System.String,System.String)">Add(IShape, string, string, string)</h4>
<div class="markdown level1 summary"><p>Adds a hyperlink to 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">IHyperlink Add(IShape shape, string address, string subAddress = null, string screenTip = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Add(shape As IShape, address As String, Optional subAddress As String = Nothing, Optional screenTip As String = Nothing) As IHyperlink</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.Drawing.IShape.html">IShape</a></td>
      <td><span class="parametername">shape</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a> object for the hyperlink</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">address</span></td>
      <td><p>The address of the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">subAddress</span></td>
      <td><p>The subaddress of the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">screenTip</span></td>
      <td><p>The screen tip to be displayed when the mouse pointer is paused over the hyperlink.</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.IHyperlink.html">IHyperlink</a></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.IHyperlink.html">IHyperlink</a> object that represents the new hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
