Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Closing Excel
Is there a way to disable pressing the "x" at the top right corner of the
screen from closing an Excel document. Here's my dilema: I have created workbooks that I allow beginner-level users to use to access data. In these books, there are buttons that perform all of the actions, including saving and closing the documents. However, I have trouble making the users press the buttons instead of pressing close or"x" in Excel, closing the document wherever they want and not leaving it appropriately for the next user. Is there a way to temporarily disable them from closing Excel this way? Thanks in advance. -Chad |
#2
|
|||
|
|||
Sounds like you could run your code on the Workbook_BeforeClose event in
addition to your button... ******************* ~Anne Troy www.piersontech.com www.mrexcel.com "Chad" wrote in message ... Is there a way to disable pressing the "x" at the top right corner of the screen from closing an Excel document. Here's my dilema: I have created workbooks that I allow beginner-level users to use to access data. In these books, there are buttons that perform all of the actions, including saving and closing the documents. However, I have trouble making the users press the buttons instead of pressing close or"x" in Excel, closing the document wherever they want and not leaving it appropriately for the next user. Is there a way to temporarily disable them from closing Excel this way? Thanks in advance. -Chad |
#3
|
|||
|
|||
I would prefer just to "disable the close" without using the button because
there could be one of many different sheets they close on when the user is finished with the book. Thanks for the insight. Any other thoughts? "Anne Troy" wrote: Sounds like you could run your code on the Workbook_BeforeClose event in addition to your button... ******************* ~Anne Troy www.piersontech.com www.mrexcel.com "Chad" wrote in message ... Is there a way to disable pressing the "x" at the top right corner of the screen from closing an Excel document. Here's my dilema: I have created workbooks that I allow beginner-level users to use to access data. In these books, there are buttons that perform all of the actions, including saving and closing the documents. However, I have trouble making the users press the buttons instead of pressing close or"x" in Excel, closing the document wherever they want and not leaving it appropriately for the next user. Is there a way to temporarily disable them from closing Excel this way? Thanks in advance. -Chad |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
I get a program error when I download an excel template | Excel Discussion (Misc queries) | |||
html to excel | Excel Discussion (Misc queries) | |||
Difference in number of Excel NewsGroups | Excel Discussion (Misc queries) | |||
Excel 2003 - long closing time when have many add-ins installed | Excel Discussion (Misc queries) |