Does anyone know a macro, registry entry or even add-in that will disable the 'Exit Excel' button under the Office Button in Excel 2007?
Thanks in advance for your help.
Does anyone know a macro, registry entry or even add-in that will disable the 'Exit Excel' button under the Office Button in Excel 2007?
Thanks in advance for your help.
^^^^^^^^^^^^^^^^^^
I'd be careful how I used this -- you'll have people coming after you in the night with pitchforks.![]()
Private Sub Workbook_BeforeClose(Cancel As Boolean) Cancel = True End Sub
Thankgs shg, however that worked a bit too well. I'm unable to close the document at all. I want users to be able to use the 'X' to close, or even ALT+F4, but not the 'Exit Excel' button.
Thanks again.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks