Share via


XmlMappedRange.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)

Syntax

'Declaration
Sub ClearHyperlinks
void ClearHyperlinks()

Remarks

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.

Note

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.

.NET Framework Security

See Also

Reference

XmlMappedRange Interface

Microsoft.Office.Tools.Excel Namespace