Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / December 2003

Tip: Looking for answers? Try searching our database.

Having trouble adding spacers to menus

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gary Lemmon - 01 Dec 2003 05:10 GMT
Normanly in a VB form I would add a dash to the caption of a menu item to
get a spacer between menu items.  I can not find any docs or discover any
combination to add a space to the Office.CommandBarButton.caption when
building meues for the Office command bar.

Can any one help?

Thanks Gary
Gary Lemmon - 01 Dec 2003 20:58 GMT
Solved my own problem.  I found some useful information in an old MSDN
Set databaseItem = CommandBars("Worksheet Menu Bar").Controls("File") _
   .Controls("Open Database")
databaseItem.BeginGroup = True

It is the BeginGroup attribute associated with the Command bar item that
sets the seperator.

> Normanly in a VB form I would add a dash to the caption of a menu item to
> get a spacer between menu items.  I can not find any docs or discover any
[quoted text clipped - 4 lines]
>
> Thanks Gary
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.