ActivateWizard Method
Applies To
Assistant object.
Description
Resumes or suspends an Office Assistant wizard session.
Note This method is used as part of the process begun with the StartWizard method.
Syntax
expression.ActivateWizard(WizardID, Act, Animation)
expression Required. An expression that returns an Assistant object.
WizardID Required Long. A number that uniquely identifies the Office Assistant wizard session, as returned by the StartWizard method.
Act Required Variant. Specifies the way the Office Assistant wizard session changes. Can be one of the following constants: msoWizardActTypes: msoWizardActActive, msoWizardActInactive, msoWizardActResume, or msoWizardActSuspend.
Animation Optional Variant. The type of animation that the Office Assistant performs when it resumes or suspends the wizard session.
See Also
EndWizard method, StartWizard method.
Example
This example suspends the Office Assistant wizard session begun with the StartWizard method. The variable helpForWiz was set to the return value of the StartWizard method.
Assistant.ActivateWizard WizardID:=helpForWiz, _
Act:=msoWizardActSuspend, Animation:=msoAnimationGoodbye