ShapeRange.Tags Property
PowerPoint Developer Reference |
Returns a Tags object that represents the tags for the specified object. Read-only.
Syntax
expression.Tags
expression A variable that represents a ShapeRange object.
Return Value
Tags
Example
Note |
---|
Tag values are added and stored in uppercase text. You should perform tests on tag values using uppercase text, as shown in the second example. |
This example adds a tag named "REGION" and a tag named "PRIORITY" to slide one in the active presentation.
Visual Basic for Applications |
---|
|
This example searches through the tags for each slide in the active presentation. If there's a tag named "PRIORITY," a message box displays the tag value. If the object doesn't have a tag named "PRIORITY," the example adds this tag with the value "Unknown."
Visual Basic for Applications |
---|
|
See Also