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

Shape.WizardTag Property (Publisher)

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

Returns or sets a PbWizardTagconstant indicating the function of a specified shape with respect to its publication design. Read/write.


expression. WizardTag

_expression_A variable that represents a Shape object.


The WizardTag property value can be one of the PbWizardTag constants declared in the Microsoft Publisher type library.

The combination of the WizardTagInstance property and the WizardTag property uniquely defines every shape in a publication.


The following example displays the wizard tag and wizard tag instance information for all the shapes on page one of the active publication.

Dim shpLoop As Shape 

For Each shpLoop In ActiveDocument.Pages(1).Shapes 
 With shpLoop 
 Debug.Print "Shape: " &; .Name 
 Debug.Print " Wizard tag: " &; .WizardTag 
 Debug.Print " Wizard tag instance: " _ 
 &; .WizardTagInstance 
 End With 
Next shpLoop
© 2018 Microsoft