Range.ClearHyperlinks method (Excel)

Removes all hyperlinks from the specified range.

Syntax

expression.ClearHyperlinks

expression A variable that returns a Range object.

Return value

Nothing

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 section of the Home tab. Only hyperlinks will be removed; all other cell content, such as text and formatting, will be unaffected.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.