CustomXMLParts.PartAfterLoad Event (Office)

Occurs just after a CustomXMLPart object is loaded.


expression. PartAfterLoad( _Part_, )

expression An expression that returns a CustomXMLParts object.


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


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

Sub CustomXMLParts_PartAfterLoad(ByVal objPart As CustomXMLPart) 
   objPart.XML ("<root xmlns=''>text</root>") 
End Sub

See also

CustomXMLParts Object

CustomXMLParts Object Members