How can I disable some of the menus in ms project using Scripts?

  • Thread starter Thread starter Imran
  • Start date Start date
I

Imran

I have to disable some of the menus in ms project for many machine. I want to
write a executable so that when i run it on the machine it automatically
disable menu. any help?
 
Not sure if this answers your question but here is what I do and I was giving
this advice by a fellow member on this board.

You create a startup form. On that startup form you create an on load event,
so everytime someone opens up the program it unleashes the load event of the
splash form.

Then you can write some code in it that disables some menu items, for
instance here is an example of what mine does

With Application.CommandBars("Name")
.Controls("Reports").Enabled = False
.Controls("Search").Enabled = False
.Controls("Enter New").Enabled = False
.Controls("Edit Item").Enabled = False
.Controls("Allocation").Enabled = False
End With

Then you can set up a sign up form or whatever else you want to trigger the
system to make this controls enabled again.
 
Back
Top