A Self-explanatory question, just I prefer Excel, and we have now moved to this and I cannot see how to add these macros?
Please see photo on dropbox Dropbox - File Deleted
In edit mode, right click the button and select Control to get to the properties dialog. On the General tab, go down to Action. on the dropdown, select the action desired:

If this answers your question please click on the
(upper left area of answer).