Table of contents
Collapse the table of content
Expand the table of content

CustomXMLPart Object (Office)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Represents a single CustomXMLPart in a CustomXMLParts collection.


The following example adds a part to a CustomXMLPart object.

Sub AddPartToCollection() 
    Dim myPart As CustomXMLPart 

    Set myPart = ActiveDocument.CustomXMLParts.Add("<author>Mark Twain</author>") 

End Sub

See also


Object Model Reference

Other resources

CustomXMLPart Object Members

© 2017 Microsoft