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

Tag.Value Property (Publisher)

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

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


expression. Value

_expression_A variable that represents a Tag object.


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
© 2018 Microsoft