Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
45 lines (26 loc) · 778 Bytes

customxmlpart-object-office.md

File metadata and controls

45 lines (26 loc) · 778 Bytes
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
CustomXMLPart Object (Office)
vbaof11.chm297000
vbaof11.chm297000
office
Office.CustomXMLPart
a4f90bac-01d6-bba4-f64b-a64e2b122cfd
06/08/2017

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

Concepts

Object Model Reference

Other resources

CustomXMLPart Object Members