Hyperlink.TextToDisplay Property (Access)

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

Syntax

expression .TextToDisplay

expression A variable that represents a Hyperlink object.

Example

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"

See Also

Concepts

Hyperlink Object Members

Hyperlink Object