A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Programming Context Menus



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 7th 07, 02:18 PM posted to microsoft.public.outlook.program_vba
expect_ed
external usenet poster
 
Posts: 1
Default 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
  #2  
Old February 7th 07, 03:00 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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

  #3  
Old February 7th 07, 05:03 PM posted to microsoft.public.outlook.program_vba
expect_ed
external usenet poster
 
Posts: 13
Default 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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disappearing/incomplete menus T5 Outlook - General Queries 1 November 9th 06 08:27 PM
how do I resize the menus in the E-mail accounts to see the whole highflyer Outlook - Installation 0 October 21st 06 05:33 AM
Need full menus Jeff Outlook - General Queries 1 August 23rd 06 12:32 AM
Choice of programming tool for Outlook programming [email protected] Outlook and VBA 4 July 13th 06 11:48 AM
Why do my New Appointment drop down menus dissappear? Dave Outlook - Calandaring 1 May 19th 06 08:39 PM


All times are GMT +1. The time now is 01:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.