...
Description |
---|
Excerpt |
---|
Creates a new hyperlink in the specified area of cells. All cell values in the area will be converted to hyperlinks. |
Signature | ||||
---|---|---|---|---|
| ||||
public Hyperlink CreateHyperlink(Area area, System.String href)
{signature}{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public Function CreateHyperlink(ByVal area As Area, ByVal href As String) As Hyperlink
{signature}
{parameters}
{param:area}An [Area|Area] object representing the cells that will be converted to hyperlinks.{param}
{param:href}The hyperlink's destination.{param}
{returns}A new [Hyperlink|Hyperlink] object with the specified destination URL.{returns}
{remarks}
Creating a hyperlink to another cell or range within the workbook is not supported. However, you may use a hyperlink formula to achieve the same functionality. For example, to link to cell C3 you would use the formula {{ |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
An Area object representing the cells that will be converted to hyperlinks. |
Param | ||||
---|---|---|---|---|
| ||||
The hyperlink's destination. |
Returns |
---|
A new Hyperlink object with the specified destination URL. |
Remarks |
---|
Creating a hyperlink to another cell or range within the workbook is not supported. However, you may use a hyperlink formula to achieve the same functionality. For example, to link to cell C3 you would use the formula
. Setting []with this formula will create the internal hyperlink. {remarks} {example}{code:csharp|title=C#} |
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|