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

Tags.Item Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns a single tag from the specified Tags collection.

Syntax

expression. Item( Name )

expression A variable that represents a Tags object.

Parameters

NameRequired/OptionalData TypeDescription
NameRequiredStringThe 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

See also

Concepts

Tags Object

© 2018 Microsoft