Open up the VBE and Double-Click on the button in question. This will take
you to the button's module with the Button_Click() event already selected.
Type or paste the code into this sub procedure.
I assume you know where the to go to access the VBE, but here are quick
direction just in case. Press Alt+F11 on your keyboard.