Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Can I remove the Options menu?

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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. #2
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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. #3
    Board Regular
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks for that!

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •