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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for