R R Guzman Mar 18, 2006 #1 Does anyone know how I can execute a macro to auto-start once I open up an Excel file? Thanks.
B Bondi Mar 18, 2006 #2 Hi, You can put this in your excel file: Private Sub Workbook_Open() [Your code here] End Sub Regards, Bondi
Hi, You can put this in your excel file: Private Sub Workbook_Open() [Your code here] End Sub Regards, Bondi
R Roger Govier Mar 18, 2006 #3 Hi If you name the macro Auto_open, then it will execute on opening the file Sub Auto_open() your code here End Sub
Hi If you name the macro Auto_open, then it will execute on opening the file Sub Auto_open() your code here End Sub
R R Guzman Mar 18, 2006 #4 Thanks everyone for your solution. Regards, R. Roger Govier said: Hi If you name the macro Auto_open, then it will execute on opening the file Sub Auto_open() your code here End Sub Click to expand...
Thanks everyone for your solution. Regards, R. Roger Govier said: Hi If you name the macro Auto_open, then it will execute on opening the file Sub Auto_open() your code here End Sub Click to expand...