Range.ClearHyperlinks Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes all hyperlinks from the specified range.
public:
void ClearHyperlinks();
public void ClearHyperlinks ();
Public Sub 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 section of the Home tab. Only hyperlinks will be removed; all other cell content, such as text and formatting will be unaffected.