in the development environment double click on the command button. Then you should get something like this

private Sub Command1_Click()
call yourmodulenamehere
End sub