Share via


Assistant.EndWizard Method

Releases the variable returned by the StartWizard method.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub EndWizard ( _
    WizardID As Integer, _
    varfSuccess As Boolean, _
    Animation As Object _
)
'Usage
Dim instance As Assistant
Dim WizardID As Integer
Dim varfSuccess As Boolean
Dim Animation As Object

instance.EndWizard(WizardID, varfSuccess, _
    Animation)
void EndWizard(
    int WizardID,
    bool varfSuccess,
    Object Animation
)

Parameters

  • WizardID
    Type: System.Int32

    The number returned by the StartWizard method.

  • varfSuccess
    Type: System.Boolean

    True to indicate that the user completed the wizard successfully.

  • Animation
    Type: System.Object

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

See Also

Reference

Assistant Interface

Assistant Members

Microsoft.Office.Core Namespace