EndWizard Method

See Also         Example         Applies To         Specifics

Releases the variable returned by the StartWizard method.

Note   You should use this method only with the StartWizard method.

Syntax

expression.EndWizard(WizardID, varfSuccess, Animation)

expression    Required. An expression that returns an Assistant object.

WizardID   Required Long. The number returned by the StartWizard method.

varfSuccess   Required Boolean. True to indicate that the user completed the wizard successfully.

Animation   Optional Variant. The animation the Office Assistant performs if varfSuccess is set to True. The default value is msoAnimationCharacterSuccessMajor.