Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 880 Bytes

Office.CustomXMLPart.md

File metadata and controls

39 lines (25 loc) · 880 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
CustomXMLPart object (Office)
vbaof11.chm297000
vbaof11.chm297000
Office.CustomXMLPart
a4f90bac-01d6-bba4-f64b-a64e2b122cfd
01/07/2019
medium

CustomXMLPart object (Office)

Represents a single CustomXMLPart in a CustomXMLParts collection.

Example

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

[!includeSupport and feedback]