Is there any events for Command Bars ??

S

Susan

Hi all,

I have created a custom command bar and depending on the users who log
in, i want to disable/enable some command bar controls (Prefer this to
be done as soon as the users log in or on the Click event of the custom
command bar )

What i am stuck with is i don't find any events for the command bars !

Does anyone know is there any events associated with command bars that
i can use for the purpose ? if not, please give ur suggestions on how
i can get this done ..

Thanks
Susan Philip
 
P

paradigm

you can use the following code to enable or disable buttons on a coomand
bar. Call a function in the on open event of the form. I is the number of
the button

CommandBars("mymenu").Controls(i).Enabled = True

Alec
 

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

Similar Threads


Top