I have a simple database that imports several excel files, churns them up and creates a new excel report. Currently you open the DB, the autoexec macro runs to do all the work, then a form opens with a button for you to press to run the report. I use VBA on the On Click event to export to Excel. There is no reason for the users to do anything else in this DB except run this report. Is there a way I can move the VBA to be run in the AutoExe macro or for the form to open and the button be pressed, then the DB close? Thanks!