Tag.Value Property (Publisher)

Returns or sets a Variant that represents the value of a tag of a shape, page, or publication. Read/write.

Syntax

expression. Value

expression A variable that represents a Tag object.

Example

This example creates a new tag for the active publication and then displays the value of the tag.

Sub CreatePublicationTag() 
 With ActiveDocument 
 .Tags.Add Name:="ActivePub", Value:="This is the active publication." 
 MsgBox .Tags(1).Value 
 End With 
End Sub