Application.ArbitraryXMLSupportAvailable property (Word)

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

Syntax

expression. ArbitraryXMLSupportAvailable

expression An expression that returns an Application object.

Remarks

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.

Example

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."

See also

Application 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.