in reply to How to write Excel Addin functions!!
See Inserting a Button and a Macro in and excel file
HTH,