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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.