AddText Method

Adds a paragraph of text to the dialog box.

object.AddText text, align, inline_style
 

Arguments

object

Required.  A variable containing a dialog object created by calling CreateObject or new ActiveXControl.

text

Required. The text to place in the dialog box.

align

Optional. 0 to center the text, 1 to align the text left, 2 to align the text right.

inline_style

Optional. The cascading style sheet (CSS) style to use to display the text.

Remarks
AddText is useful for placing instructions in a dialog box, or to relay the results of some previous script action.

Example
See Adding Text In VBScript.