Tags.Item Method (PowerPoint)
Returns a single tag from the specified Tags collection.
Syntax
expression .Item(Name)
expression A variable that represents a Tags object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Name |
Required |
String |
The name of the single tag in the collection to be returned. |
Return Value
String
Example
This example hides all slides in the active presentation that don't have the value "east" for the "region" tag.
For Each s In ActivePresentation.Slides
If s.Tags.Item("region") <> "east" Then
s.SlideShowTransition.Hidden = True
End If
Next