onafterupdate Property
Sets or returns a Variant that represents the value of the onafterupdate attribute that is the name of the script to run when the onafterupdate event fires.
expression.onafterupdate
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following example sets the onafterupdate attribute for the BODY element in the active document.
ActiveDocument.body.onafterupdate = "script()"