Version

GetHyperlink Method

Gets the effective hyperlink on the cell.
Syntax
'Declaration
 
Public Function GetHyperlink() As WorksheetHyperlink
public WorksheetHyperlink GetHyperlink()
Remarks

If multiple hyperlinks are applied to the cell, the last one in the Worksheet.Hyperlinks collection will be used.

If the cell has one or more hyperlinks in the Worksheet.Hyperlinks collection as well as a formula containing a HYPERLINK function, the last hyperlink from the collection will be used.

If the cell has a hyperlink due to the HYPERLINK function being used in a formula, the returned value will be sealed.

Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub