Is there any events for Command Bars ??

  • Thread starter Thread starter Susan
  • Start date Start date
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
 
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
 
Back
Top