I am having trouble finding the VBA code behind a button placed on a form in Access 2007. I have placed a run query button on a form using the wizard. Using alt F11 I bring up VBA to view the code but I can’t find anything in VBA. I want to modify the code so I can get several commands on one button. I basically want to run a query and then open an excel spreadsheet with the data from that query exported to the excel spreadsheet. Any help you can give me with this is greatly appreciated.