This documentation is archived and is not being maintained.

Wizard.SetId Method

Office 2007
Specifies the type of the wizard (template) to which to convert the current publication type.

Version Information
 Version Added:  Publisher 2007



expression   A variable that represents a Wizard object.


NameRequired/OptionalData TypeDescription
IDRequiredLongID of the wizard (template) to which to convert the current publication.


When Microsoft Office 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.


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.

Visual Basic for Applications
Public Sub SetId_Example()

    Wizard.SetId (pbWizardBrochures)

End Sub