Removing Customization Menu from CommandBar

S

StevenBr

I'm attempting to remove the small down arrow that drops down the "add/remove
buttons" menu from my custom toolbar, by setting the protection property to
"msoBarNoCustomize". However, this has no apparent effect.

Is this the correct way to do this?

Thanks.
 
K

Ken Slovak - [MVP - Outlook]

That setting will prevent customization but won't remove that control.
 
S

StevenBr

Is there no way at all to remove it?
--
Steven Bras
Tessitura Network, Inc.


Ken Slovak - said:
That setting will prevent customization but won't remove that control.
 
K

Ken Slovak - [MVP - Outlook]

I'm not sure, I've never tried to remove it. Does it show up if you iterate
the controls in that CommandBar? If not then no, you can't remove it. If yes
then just make it invisible (.Visible = False).
 
P

Peter Huang [MSFT]

Hi Steven,

Have you tried Ken's suggestion?
I have browsed through the Object Modal of CommandBar, CommandBars.Add
The CommandBar Object Modal did not expose such an interface to change the
options.

If you still have any concern, please feel free to post here.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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