Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable MSProject Toolbar when editing

Status
Not open for further replies.

PoppapumpJ

Programmer
Dec 17, 2001
86
US
Anyone know how to disable a Toolbar when the user is editing a cell in MSProject? Most MS icons gray out when you start editing a cell. However, the buttons I added at run time do not gray out.

thanks
 
Probably you may have to use something like this

Application.CommandBars("Worksheet Menu Bar").Controls.Item(1).Enabled = False

Insert your sutomized tool bar names in the above

Hope this helps
 
Yeah, I've got a Sub that loops throgh the buttons to disable them.. However, I do not know what trigger will execute in order for that code to run
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top