Visual Basic Reference

Text Property (ActiveX Controls)

See Also   Example   Applies To

Returns or sets the text contained in an object.

Syntax

object**.Text** [= string]

The Text property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
string A string expression specifying the text appearing in the object.