Execute Method

Displays the dialog box and waits for the user to interact with it; returns a result object that provides information about what the user did.

result = object.Execute
 

Arguments

object

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

result

Optional. An object containing information about how the user interacted with the dialog box. See Result Objects.

Remarks
None.

Example
See Text and Password Fields in VBScript.