Returns or sets the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink.
[Visual Basic] Property TextToDisplay As String [C#] string TextToDisplay { get; set; } [C++] __property String* get_TextToDisplay(); __property void set_TextToDisplay(String* ); [JScript] function get TextToDisplay() : String function set TextToDisplay(String);
This example sets the text to be displayed for the first hyperlink on worksheet one.
[C#]
book.Worksheets[1].Hyperlinks[1].TextToDisplay = "NikaSoft Home Page";
[Visual Basic]
book.Worksheets(1).Hyperlinks(1).TextToDisplay = "NikaSoft Home Page"
[C++]
book->Worksheets->Item[1]->Hyperlinks->Item[1]->TextToDisplay = S"NikaSoft Home Page";
IHyperlink Interface | NativeExcel Namespace | IWorksheet.Hyperlinks Property | IRange.Hyperlinks Property | IHyperlinks Interface