Partitions in Short Cut menues

G

Guest

I am having good success using custom short cut menus, but I have one
aesthetic question. How do I get the partition lines like on the default
menu? (Like above and below "Insert Comment".

Thanks in advance.

ZipCurs
 
J

Jim Cone

Set NewMenuItem = .Add(msoControlButton)
NewMenuItem.BeginGroup = True
-or-
Application.CommandBars("Cell").Controls(3).BeginGroup = True
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel add-ins: compare, uniques, color sort, thesaurus,...)



"ZipCurs" <[email protected]>
wrote in message
I am having good success using custom short cut menus, but I have one
aesthetic question. How do I get the partition lines like on the default
menu? (Like above and below "Insert Comment".
Thanks in advance.
ZipCurs
 

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