Josh Hazel
07-16-2010, 08:49 PM
I have this problem with users who do not fully understand how to use Excel.
Wen you want to close the workbook that is active, you should click on the little "x" button on the workbook. However, users continually click on the big "x" button on the application, which closes their other workbook but it also causes it to close this one and it should not.
Does anyone know a work around for this? I have a couple ideas but don't know how to implement them.
The first would be to cancel on the workbook_close event, but I dont see how you would tell the difference between an intentional close clicking on the workbook and a close by clicking the application X button.
The second is to have it so that no other workbooks can be opened in this instance of the application.
Wen you want to close the workbook that is active, you should click on the little "x" button on the workbook. However, users continually click on the big "x" button on the application, which closes their other workbook but it also causes it to close this one and it should not.
Does anyone know a work around for this? I have a couple ideas but don't know how to implement them.
The first would be to cancel on the workbook_close event, but I dont see how you would tell the difference between an intentional close clicking on the workbook and a close by clicking the application X button.
The second is to have it so that no other workbooks can be opened in this instance of the application.