![]() |
to kevin RE CloseSwitch
Kevin
under the project explorer double click on workbook put the Public CloseSwitch under the declarations set the CloseSwitch to true under the workbook_open event and the select case in the workbook before_close event None of it is in a module. being public the CloseSwitch can be changed in other procedures such as your macro |
All times are GMT +1. The time now is 11:29 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com