![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Location: Manchester, UK
Posts: 95
|
Is there a quick way to remove/lock access to the Tools -> Options Menu on a workbook so that users cannot alter general settings?
|
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi Nick
Right click on the Excel icon, top left next to "File" and paste in this code: Code:
Private Sub Workbook_Activate()
Application.CommandBars("Worksheet Menu Bar").Controls _
("Tools").Controls("Options...").Enabled = False
End Sub
Private Sub Workbook_Deactivate()
Application.CommandBars("Worksheet Menu Bar").Controls _
("Tools").Controls("Options...").Enabled = True
End Sub
Then click the top right X to return to Excel and Save! Now close and re-open, as long as the Workbook is active the "Options" menu will not be enabled. |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Location: Manchester, UK
Posts: 95
|
Thanks for that!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|