Document.SelectContentControlsByTag Method (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a ContentControls collection that represents all the content controls in a document with the tag value specified in the Tag parameter. Read-only.

expression .SelectContentControlsByTag(Tag)

expression An expression that returns a Document object.

Parameters

Name

Required/Optional

Data Type

Description

Tag

Required

String

The tag value of the content controls to return.

Return Value

ContentControls

Show: