Table of contents
TOC
Collapse the table of content
Expand the table of content

Wizard.SetId Method (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

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

NameRequired/OptionalData TypeDescription
IDRequiredLongID 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
© 2018 Microsoft