ErrorMsg method

Displays an error message in the status monitor.

object . ErrorMsg ( message )
PartDescription
object An object expression that evaluates to the Form object.
message Required. The message to be displayed.