This image shows the vbBeforeExit event selected in the Create Event Listener window.