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

Make my own right-click action in Outlook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 14th 07, 01:13 PM posted to microsoft.public.outlook.program_vba
DianePDavies
external usenet poster
 
Posts: 3
Default Make my own right-click action in Outlook

I want to be able to file an e-mail in an Access database. Now I can do it
from Access - as I can make a list of mails in my inbox and then have the
mail info extracted for the mails I select.

It would be better though to activate this facility simply by right-clicking
the mail in the inbox.

Does anyboy have sample VBA-code for creating a right-click menu in Outlook?
--
Diane
Ads
  #2  
Old June 14th 07, 02:59 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Make my own right-click action in Outlook

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

Richard Kagerer has posted a code sample at http://www.outlookcode.com/codedetail.aspx?id=314 that shows how you might trick Outlook into exposing the context menu through Explorer.CommandBars.

The C++ sample add-in at http://www.codeproject.com/atl/outlook2k3addin.asp also shows a technique for working with the context menu.

Outlook 2007 provides Application-level events for the most commonly used context menus.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"DianePDavies" wrote in message ...
I want to be able to file an e-mail in an Access database. Now I can do it
from Access - as I can make a list of mails in my inbox and then have the
mail info extracted for the mails I select.

It would be better though to activate this facility simply by right-clicking
the mail in the inbox.

Does anyboy have sample VBA-code for creating a right-click menu in Outlook?
--
Diane

 




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
windows 2000, how to make OE double click to open mail hbm1211 Outlook Express 3 March 1st 07 05:03 AM
Action in Outlook causes 100% CPU in Excel [email protected] Outlook - General Queries 0 July 20th 06 01:12 AM
Dbl-click or rt-mouse click/Open on Calendar Items fails after Stn J. Munter Outlook - Calandaring 1 June 15th 06 09:23 PM
Make my managers contacts my default when i click on contacts butt RemySS Outlook - Using Contacts 1 March 13th 06 01:42 PM
New Mail Icon Double-Click Action [email protected] Outlook - General Queries 1 January 28th 06 12:32 AM


All times are GMT +1. The time now is 07:45 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-2025 Outlook Banter.
The comments are property of their posters.