WithEvents

The WithEvents keyword is used in these contexts:

Dim Statement

Private Statement

Public Statement