This documentation is archived and is not being maintained.

NamedRange.ClearHyperlinks Method

Removes all hyperlinks from the specified range.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

void ClearHyperlinks()

Calling the ClearHyperlinks method on the specified range is equivalent to using the Clear Hyperlinks command from the Clear drop-down list in the Editing group of the Home tab in Excel. Only hyperlinks will be removed; all other cell content, such as text and formatting will be unaffected.


This property appears in IntelliSense in Excel 2007 projects that target the .NET Framework 4. However, this property cannot be used in Excel 2007 projects.