![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
In Outlook 2003 I used to add buttons for my macros to the bar of the
message window. Those macros handle moving current message to certain folders (default Move to Folder button was not convenient enough). Once upgraded to version 2007, my buttons are now moved to Add-Ins menu of the Ribbon and I'm fine with it (although they're one click further now to reach). How do I add more macro buttons to the Add-Ins? I only found a way to add them to Quick Access Toolbar which is not feasible since the captions appear there only when mouse is over, and I need them displayed permanently. Thanks in advance. |
Ads |
#2
|
|||
|
|||
![]()
You still can access your custom toolbar by name with VBA. For example, if I
have a custom toolbar named "Test," this code will add a new command on the Add-ins tab tp run a macro named "macro_name": Dim cb As CommandBar Dim cbb As CommandBarButton Set insp = Application.ActiveInspector Set cb = insp.CommandBars("Test") cb.Visible = True Set cbb = cb.Controls.Add(msoControlButton) cbb.Caption = "My Macro" cbb.OnAction = "macro_name"I can add a new button to run the 'FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/comm....program_v ba -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "strach" wrote: In Outlook 2003 I used to add buttons for my macros to the bar of the message window. Those macros handle moving current message to certain folders (default Move to Folder button was not convenient enough). Once upgraded to version 2007, my buttons are now moved to Add-Ins menu of the Ribbon and I'm fine with it (although they're one click further now to reach). How do I add more macro buttons to the Add-Ins? I only found a way to add them to Quick Access Toolbar which is not feasible since the captions appear there only when mouse is over, and I need them displayed permanently. Thanks in advance. . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Set off VBA macro on email receipt then that macro accesses the emailcontent | [email protected] | Outlook and VBA | 3 | February 5th 09 01:14 AM |
OL 2003 crashes on macro (Alt-F8) or macro editor (Alt-F11) | mikewillnot | Outlook - General Queries | 0 | May 5th 08 04:42 PM |
xp style buttons needed in macro msgbox.. | [email protected] | Outlook and VBA | 1 | September 14th 07 03:09 PM |
Outlook macro abends but Word macro runs successfully | Jreue | Outlook and VBA | 0 | December 14th 06 12:55 AM |
Call macro stored in Excel workbook from Outlook's macro | Gvaram | Outlook and VBA | 5 | October 4th 06 07:26 AM |