title | keywords | f1_keywords | ms.prod | api_name | ms.assetid | ms.date | ||
---|---|---|---|---|---|---|---|---|
CustomXMLPart Object (Office) |
vbaof11.chm297000 |
|
office |
|
a4f90bac-01d6-bba4-f64b-a64e2b122cfd |
06/08/2017 |
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