MrExcel Publishing
Your One Stop for Excel Tips & Solutions

Separator between Menu Items in VBA code


Posted by Krumpin on January 10, 2001 4:42 AM

I am working on some MS Excel extension. I have made my own menu bar and now I would like to use some separators between menu items in pull-down menus. But I don't know how to write it in VBA code. Could you somebody help me.
Thank you very much for any advice.

Krumpin (CZ)


Posted by Robert on January 11, 2001 5:52 PM

Set the first item's property Begingroup property to true, above you will get the divider line, same way as you set the caption etc.
OK?

R.