Disabling customization of command bar

M

Mousam

Hi All,
I am developing an Excel plug-in in COM using C++. I want to know
is there any way to disable the customization of command bars added
from my plug-in only. I am aware of one property 'DisableCustomize' of
command bars object, but it disable the customization of all the
command bars while I want to disable the customization of some
specific command bars only.

Can any one please help me with this?

Thanks & Regards,
Mousam Dubey
 
M

Mousam


Hi Jason,
First of all Thanks a ton for your kind help.

But I see some issues in this solution.

a) After applying this solution user will not be able to show any tool
bar which is currently hidden.
b) This method will disable customization of all the tool bars, I want
to disable customization of command bars which are added through my
plug in only.

Thanks & Regards,
Mousam Dubey
 
J

Jason Lepack

You're welcome.

Cheers,
Jason Lepack


Hi Jason,
First of all Thanks a ton for your kind help.

But I see some issues in this solution.

a) After applying this solution user will not be able to show any tool
bar which is currently hidden.
b) This method will disable customization of all the tool bars, I want
to disable customization of command bars which are added through my
plug in only.

Thanks & Regards,
Mousam Dubey- Hide quoted text -

- Show quoted text -
 

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