This documentation is archived and is not being maintained.

Hyperlink.TextToDisplay Property (Access)

You can use the TextToDisplay property to specify or determine the display text for a hyperlink. Read/write String.

expression .TextToDisplay

expression A variable that represents a Hyperlink object.

The following example displays the words "Go to Home page" as an active hyperlink in the label named "Label20" on the "Suppliers" form. Clicking the hyperlink takes the user to the address specified in the label's HyperlinkAddress property.

Forms.Item("Suppliers").Controls.Item("Label20").Hyperlink. _ 
 TextToDisplay = "Go to Home page"