Export (0) Print
Expand All

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

Syntax

expression.SetId(ID)

expression   A variable that represents a Wizard object.

Parameters

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

Remarks

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.

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.

Visual Basic for Applications
Public Sub SetId_Example()

    Wizard.SetId (pbWizardBrochures)

End Sub



Community Additions

ADD
Show:
© 2014 Microsoft