![]() |
Programming Context Menus
Is it possible to use VBA to program the context menus in Outlook. I'd like
to be able to right click on a message and have a selection of folders right on the context menu to move the message to. Is this possible? I've done some programming and willing to do the work to learn how to do it if it is possible. Just like to know I'm not wasting my time and it just can't be done. TIA |
Programming Context Menus
Outlook 2007 provides Application-level events for the most commonly used context menus that are very easy to use from VBA.
In versions before Outlook 2007, Outlook does not directly expose the right-click context menu in its CommandBars collection. You will, however, see a new right-click command is when the item selected is using a custom form that includes one or more custom actions. You can also add a custom action without using a custom form, as demonstrated at http://www.outlookcode.com/codedetail.aspx?id=526. This technique, however, is not suitable for use with mail messages. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "expect_ed" wrote in message ... Is it possible to use VBA to program the context menus in Outlook. I'd like to be able to right click on a message and have a selection of folders right on the context menu to move the message to. Is this possible? I've done some programming and willing to do the work to learn how to do it if it is possible. Just like to know I'm not wasting my time and it just can't be done. TIA |
Programming Context Menus
OK Sue, Thanks for saving me gonig on a wild goose chase. Guess I'll wait
til the company upgrades to '07. "Sue Mosher [MVP-Outlook]" wrote: Outlook 2007 provides Application-level events for the most commonly used context menus that are very easy to use from VBA. In versions before Outlook 2007, Outlook does not directly expose the right-click context menu in its CommandBars collection. You will, however, see a new right-click command is when the item selected is using a custom form that includes one or more custom actions. You can also add a custom action without using a custom form, as demonstrated at http://www.outlookcode.com/codedetail.aspx?id=526. This technique, however, is not suitable for use with mail messages. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "expect_ed" wrote in message ... Is it possible to use VBA to program the context menus in Outlook. I'd like to be able to right click on a message and have a selection of folders right on the context menu to move the message to. Is this possible? I've done some programming and willing to do the work to learn how to do it if it is possible. Just like to know I'm not wasting my time and it just can't be done. TIA |
All times are GMT +1. The time now is 09:17 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com