CustomXMLPrefixMapping Object (Office)

Office 2013 and later

Contribute to this content

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

Represents a namespace prefix.

The following example creates a CustomXMLPrefixMapping object by adding a namespace and prefix to the CustomXMLPrefixMapping collection.

Dim objNamespace As CustomXMLPrefixMapping 
objNamespace = CustomXMLPrefixMappings.AddNamespace("xs", "urn:invoice:namespace")