Document.SelectContentControlsByTag method (Word)

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

Syntax

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

See also

Document Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.