Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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"
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.