Table of contents
Collapse the table of content
Expand the table of content

Hyperlink.TextToDisplay Property (Access)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

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"

See also


Hyperlink Object

© 2018 Microsoft