M
med111
Hello all,
In Project pro 2007, I added my custom CommandBarButton to the
"collaborate
menu".
I want to disable this commandBarButton when the project is readonly
or not published? How can I do it?
First, how can I know that a project is published in VBA (I alredy
know when a project is readonly: use property readonly in VBA)
Second, Is there a difference betwenn ActiveProject.CommandBar and
Application.CommandBar
Third (I already know ) I must set customCommandBarButtom.Enabled =
false/True in some events (publishing,open project, any more?)
In Project pro 2007, I added my custom CommandBarButton to the
"collaborate
menu".
I want to disable this commandBarButton when the project is readonly
or not published? How can I do it?
First, how can I know that a project is published in VBA (I alredy
know when a project is readonly: use property readonly in VBA)
Second, Is there a difference betwenn ActiveProject.CommandBar and
Application.CommandBar
Third (I already know ) I must set customCommandBarButtom.Enabled =
false/True in some events (publishing,open project, any more?)