|Publisher Developer Reference|
expression A variable that represents a Document object.
When accessing the Wizard property from the Document or Page object, if the specified publication is not associated with any publication design, an error occurs. When accessing the Wizard property from the Shape or ShapeRange object, if the specified object is not a Design Gallery object, an error occurs.
The following example reports on the publication design associated with the active publication, displaying its name and current settings.
|Visual Basic for Applications|
|Depending on the language version of Publisher that you are using, you may receive an error when using the above code. If this occurs, you will need to build in error handlers to circumvent the errors. For more information, see Wizard object .|