onerrorupdate Property

Microsoft FrontPage Visual Basic

onerrorupdate Property

Returns or sets a Variant that represents the value of the onerrorupdate attribute that is the name of the script to run when the onerrorupdate event fires.

expression.onerrorupdate

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

The following example sets the onerrorupdate attribute for the BODY element in the active document.

    ActiveDocument.body.onerrorupdate = "script()"