Assistant.ActivateWizard Method
Office Developer Reference |
Note |
---|
The Microsoft Office Assistant has been deprecated in the 2007 release of the Microsoft Office system. |
Resumes or suspends Office Assistant Help during a custom wizard.
Note |
---|
You should use this method only with the StartWizard method. |
Syntax
expression.ActivateWizard(WizardID, act, Animation)
expression A variable that represents an Assistant object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
WizardID | Required | Long | The number returned by the StartWizard method. |
act | Required | MsoWizardActType | Specifies the change to the Office Assistant Help session. |
Animation | Optional | Variant | The animation the Office Assistant performs when it is suspended or resumed. |
Example
This example suspends the wizard session that was started with the StartWizard method. The variable lHelpForWiz was set to the return value of the StartWizard method.
Visual Basic for Applications |
---|
|
See Also