Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Toggles the state of a task between inactive and active.
expression. InactivateTaskToggle
( _MakeActive_
)
expression An expression that returns an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
MakeActive | Optional | Variant | Specifies whether to make the task active. If the task is active, True has no effect. If the task is inactive, True makes the task active. |
Boolean
The InactivateTaskToggle method corresponds to the Inactivate command in the Tasks group of the Task tab on the Ribbon.
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.