XMLSchemaReferences.ShowPlaceholderText property (Word)

Returns or sets a Boolean that represents whether automatic placeholder text is displayed for XML elements in a document. Read/write.

Syntax

expression. ShowPlaceholderText

expression An expression that returns an 'XMLSchemaReferences' collection.

Remarks

True displays placeholder text. False hides placeholder text.

Example

The following toggles the display of placeholder text in the active document.

ActiveDocument.XMLSchemaReferences.ShowPlaceholderText = _ 
 Not ActiveDocument.XMLSchemaReferences.ShowPlaceholderText

See also

XMLSchemaReferences Collection

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.