Collapse the table of content
Expand the table of content
Expand Minimize

Document.XMLSchemaReferences Property (Word)

Office 2013 and later

Contribute to this content

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

Returns an XMLSchemaReferences collection that represents the schemas attached to a document.

expression .XMLSchemaReferences

expression An expression that returns a Document object.

The following example reloads the first schema attached to the active document.

Dim objSchema As XMLSchemaReference 
Set objSchema = ActiveDocument.XMLSchemaReferences.Item(1) 
© 2015 Microsoft