First you would have to create the macro. It might seem difficult but its pretty easy. You have to create it from the Macro Tab.
When the macro is created, go to the design view of your form. Create a command button and link the button to the macro.
When you click on the button, the macro will run.
Parra