Text Property
Text returns or sets the text string. Returns a string.
Syntax
object.Text
object. Text = Text
Parameter |
Type |
Description |
Text |
String |
required |
Example 1
This example demonstrates how to return the contents of a text string.
Debug.Print Text.Text
Example 2
This example demonstrates how to set a text string.
Text.Text = "This is a string of text"
Used by: Text object