Hyperlink.TextToDisplay property (Excel)
Returns or sets the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink. Read/write String.
Syntax
expression.TextToDisplay
expression A variable that represents a Hyperlink object.
Example
This example sets the text to be displayed for the first hyperlink on the active worksheet.
ActiveSheet.Hyperlinks(1).TextToDisplay = _
"Company Home Page"
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.