Application.ArbitraryXMLSupportAvailable Property (Word)
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Application.ArbitraryXMLSupportAvailable Property (Word)

Returns a Boolean that represents whether Microsoft Word accepts custom XML schemas. True indicates that Word accepts custom XML schemas.

expression .ArbitraryXMLSupportAvailable

expression An expression that returns an Application object.

Microsoft Office Standard Edition 2003 includes XML support using the Word XML schema, but it does not provide support for custom XML schemas. Support for custom XML schemas is available only in the stand-alone release of Office Word 2003 or greater and in Office Professional Edition 2003 or greater. Use the ArbitraryXMLSupportAvailable property to determine which release is installed.

The following code displays a message if the installed version of Word does not support custom XML schemas.

If Application.ArbitraryXMLSupportAvailable = False Then 
 MsgBox "Custom XML schemas are not " & _ 
 "supported in this version of Microsoft Word."
Show:
© 2016 Microsoft