Message-ID: <1515883562.8127.1711633128253.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8126_251803336.1711633128253" ------=_Part_8126_251803336.1711633128253 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Cell.CreateHyperlink(String)

Cell.CreateHyperlink(String)

Description=20

Creates a new hyperlink in the cell pointing to the specified href. This= hyperlink is automatically added to the worksheet. The cell value will be = converted to hyperlinks.

=20
C#
=20
 public Hyperlink CreateHyperlink(System.String href)
=20
=20
vb.net
=20
Public Function CreateHyperlink(ByVal href As String) As Hyperlink
=20
=20

Parameters

=20
href
The hyperlink's dest= ination.=20

Returns

A=20 Hyperlink object.= =20

Remarks

Creating a hyp= erlink to another cell or range within the workbook is not supported. Howev= er, you may use a hyperlink formula to achieve the same functionality. For = example, to link to cell C3 you would use the formula=20 =3DHYPERLINK("#Sheet1!C3", "Link to C3"). = Setting=20 Cell.Formula wit= h this formula will create the internal hyperlink.=20

Examples

=20
C#
=20
Hyperlink link =3D cellA1.CreateHyperlink("http://www.softartisans.com=
");
=20
=20
vb.net
=20
Dim link As Hyperlink =3D cellA1.CreateHyperlink("http://www.softartis=
ans.com")
=20
------=_Part_8126_251803336.1711633128253--