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='http://www.w3c.org/XMLSchema'>text</root>")
End Sub