using VBA you can manipulate the menus. If you wanted to prevent the users from touching any of the main menus you could write some code similar to below in the Workbook Open even:
-------------------------------------
Dim cb As CommandBar
Dim cbControl As CommandBarControl
'Loop through all the commandbars
For Each cb In ThisWorkbook.Application.CommandBars
'Check to see if it's the main menu bar
If UCase(cb.Name) = "WORKSHEET MENU BAR" Then
'This section will gray out the main menu bar
'options.
For Each cbControl In cb.Controls
'MsgBox cbControl.Caption
cbControl.Enabled = False
Next
End If
Next
-------------------------------------
I'm sure there's a more efficient and less confusing way of accomplishing what you want, but I threw this together real quick so you'll at least have a base to go from and be able to tweak yourself.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.