CustomXMLParts.PartAfterLoad Event (Office)

Occurs just after a CustomXMLPart object is loaded.

Syntax

expression. PartAfterLoad( _Part_, )

expression An expression that returns a CustomXMLParts object.

Parameters

Name Required/Optional Data Type Description
Part Required CustomXMLPart The part that was loaded.

Example

The following example adds XML to a part after it is loaded.

Sub CustomXMLParts_PartAfterLoad(ByVal objPart As CustomXMLPart) 
   objPart.XML ("<root xmlns='https://www.w3c.org/XMLSchema'>text</root>") 
End Sub

See also

CustomXMLParts Object

CustomXMLParts Object Members