Enabling and disabling Buttons

B

BIG Chris

Hi,

If I place a button into Ms Project then this button will appear (
enabled ) for all the users and for all the projects that they load
up.

Is it possible for the button to be disabled for certain project types
? i.e. if the user loads in a project and I can tell that it is not
an appropriate one for the button to be used ( via project name or
answer from my previous posted question ) can I disable the button ?
and then if they load a project that is appropriate, I will then need
to re-enable the button.

Any Ideas ?

Cheers,

Chris.
 
G

Gérard DUCOURET

Hello

Try the property Enabled :

MyButton.Enabled = False

Gérard Ducouret
 

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