TextboxText Property

Microsoft Word Visual Basic

TextboxText Property

Sets or returns a String that represents the text in a smart document textbox control.

expression.TextboxText

expression    Required. An expression that returns a SmartTagAction object.

Remarks

For more information on smart documents, please see the Smart Document Software Development Kit on the Microsoft Developer Network (MSDN) Web site.

Example

The following example sets the text displayed for the specified smart document textbox control. This example assumes that the first action for the first smart tag in the active document is a textbox control.

    ActiveDocument.SmartTags(1).SmartTagActions(1) _
    .TextboxText = "Enter new textbox control text here."