![]() |
How to Exit Excel Automatically
I was wondering if there was an easy way to exit Excel automatically once all the Auto_Open Macros completed.
|
How to Exit Excel Automatically
hi
Try Application.Quit to exit the whole of excel or ThisWorkbook.Close to close the current workbook. -----Original Message----- I was wondering if there was an easy way to exit Excel automatically once all the Auto_Open Macros completed. . |
How to Exit Excel Automatically
JPMS,
In addition to the other responses that you rec'd, you might want to use: Application.DisplayAlerts = False just before the Application.Quit This will suppress any prompts to save the workbook if your macros have made any changes to it. John "JMPS" wrote in message ... I was wondering if there was an easy way to exit Excel automatically once all the Auto_Open Macros completed. |
All times are GMT +1. The time now is 01:35 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com