The Click() event will fire when the button is clicked.
Code:
Private Sub Command1_Click()
    MsgBox "Command1 was clicked"
End Sub