S Sunil Oct 25, 2004 #1 is it possible for excel to close when then last workwook is closed. I would like to do this with a macro in sub autoclose.
is it possible for excel to close when then last workwook is closed. I would like to do this with a macro in sub autoclose.
G Guest Oct 25, 2004 #2 Hi not tested but try sub workbook_beforeclose() if workbooks.count=1 then application.quit end if end sub
Hi not tested but try sub workbook_beforeclose() if workbooks.count=1 then application.quit end if end sub