WizardTag Property

Microsoft Publisher Visual Basic

constant indicating the function of a specified shape with respect to its publication design. Read/write.

PbWizardTag can be one of these PbWizardTag constants.
pbWizardTagAddress
pbWizardTagAddressGroup
pbWizardTagBriefDescriptionCaption
pbWizardTagBriefDescriptionGraphic
pbWizardTagBriefDescriptionSummary
pbWizardTagBriefDescriptionSummaryPrimary
pbWizardTagBriefDescriptionTitle
pbWizardTagBusinessDescription
pbWizardTagCustomerMailingAddress
pbWizardTagDate
pbWizardTagEAPostalCodeBox
pbWizardTagEAPostalCodeGroup
pbWizardTagEAPostalCodeLine
pbWizardTagFloatingGraphicCaption
pbWizardTagHourTimeDateInformation
pbWizardTagJobTitle
pbWizardTagLinkedStoryPrimary
pbWizardTagLinkedStorySecondary
pbWizardTagLinkedStoryTertiary
pbWizardTagList
pbWizardTagLocation
pbWizardTagLogoGroup
pbWizardTagMainFloatingGraphic
pbWizardTagMainGraphic
pbWizardTagMainTitle
pbWizardTagMapPicture
pbWizardTagMasthead
pbWizardTagNewsletterTitle
pbWizardTagOrganizationName
pbWizardTagOrganizationNameGroup
pbWizardTagPageNumber
pbWizardTagPersonalName
pbWizardTagPersonalNameGroup
pbWizardTagPhoneFaxEmail
pbWizardTagPhoneFaxEmailGroup
pbWizardTagPhoneNumber
pbWizardTagPhotePlaceholderText
pbWizardTagPhotoPlaceholderFrame
pbWizardTagPublicationDate
pbWizardTagQuickPubContent
pbWizardTagQuickPubHeading
pbWizardTagQuickPubMessage
pbWizardTagQuickPubPicture
pbWizardTagReturnAddressLines
pbWizardTagStampBox
pbWizardTagStampBoxOutline
pbWizardTagStory
pbWizardTagStoryCaptionPrimary
pbWizardTagStoryCaptionSecondary
pbWizardTagStoryGraphicPrimary
pbWizardTagStoryGraphicSecondary
pbWizardTagStoryTitle
pbWizardTagTableOfContents
pbWizardTagTableOfContentsTitle
pbWizardTagTagLine
pbWizardTagTagLineGroup
pbWizardTagTime

expression.WizardTag

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

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

Example

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