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

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?
 
A

akphidelt

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top