ContentControl.Level (Word)

Returns the level of the content control—whether the content control surrounds text, paragraphs, table cells, or table rows; or if it is inline. Possible return values are wdContentControlLevelCell - Represents a content control that surrounds a table cell, wdContentControlLevelInline - Represents a content control that surrounds content within a single paragraph, wdContentControlLevelParagraph - Represents a content control that surrounds one or more complete paragraphs, wdContentControlLevelRow - Represents a content control that surrounds a table row.


Dim wccLevel As WdContentControlLevel
wccLevel = ActiveDocument.Range.ContentControls(1).Level