Don't type Sub BtnOK, type Sub then a space then press the tab key, you'll get a list of available types, select one and you'll get the available events. You type the view name last once you've chosen the event type.
note: works with Public Sub and Private Sub too.