Wizard.SetId method (Publisher)
Specifies the type of the wizard (template) to which to convert the current publication type.
Syntax
expression.SetId (ID)
expression A variable that represents a Wizard object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
ID | Required | Long | ID of the wizard (template) to which to convert the current publication. |
Remarks
When Microsoft Publisher converts the publication type, it automatically maps elements of the existing publication type to the new publication type as best as possible. Any elements that it cannot map appear under Extra Content in the Format Publication task pane in the Publisher user interface; you can add them to the new publication manually by dragging them onto the publication page.
Example
The following Microsoft Visual Basic for Applications (VBA) macro shows how to use the SetId method to convert the current publication type to a brochure.
Public Sub SetId_Example()
Wizard.SetId (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.