Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Changes the current publication to one that uses the wizard, and optionally the design, that you specify.
Syntax
expression.ChangeDocument (Wizard, Design)
expression A variable that represents a Document object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Wizard | Required | PbWizard | The type of wizard. Can be one of the PbWizard constants. |
| Design | Optional | Long | The design type. |
Example
The following Microsoft Visual Basic for Applications (VBA) macro shows how to use the ChangeDocument method to change the wizard used by the current publication to a brochure.
Public Sub ChangeDocument_Example()
ThisDocument.ChangeDocument pbWizardBrochures
End Sub
Support and feedback
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.