Share via


OnĀ 

Introduces a response to a run-time error or turns a compiler option on.

Remarks

The On keyword is used in these contexts:

On Error Statement

Option Explicit Statement

Option Strict Statement

See Also

Reference

Visual Basic Language Keywords