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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

obtain last selected mail



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 17th 06, 11:31 AM posted to microsoft.public.outlook.program_addins
Steffen Heinzl
external usenet poster
 
Posts: 14
Default obtain last selected mail

Hi!

Is it possible to obtain/remember the last selected mail and save it to
an object?

Thanks,
Steffen
  #2  
Old November 17th 06, 01:24 PM posted to microsoft.public.outlook.program_addins
Steffen Heinzl
external usenet poster
 
Posts: 14
Default obtain last selected mail

Steffen Heinzl wrote:
Hi!

Is it possible to obtain/remember the last selected mail and save it to
an object?

Thanks,
Steffen


Finally, I found something how to obtain the currently selected mail.
ActiveExplorer().Selection returns an Selection object, which contains
the currently selected items.
  #3  
Old November 17th 06, 02:20 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default obtain last selected mail

The SelectionChange event will fire when that Selection is changing.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Steffen Heinzl" wrote in message
...
Steffen Heinzl wrote:
Hi!

Is it possible to obtain/remember the last selected mail and save it to
an object?

Thanks,
Steffen


Finally, I found something how to obtain the currently selected mail.
ActiveExplorer().Selection returns an Selection object, which contains the
currently selected items.


 




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
How to obtain the body of a temporary MailItem? IceKettle Add-ins for Outlook 0 November 7th 06 02:32 AM
Mail Removed From Server when "Leave a copy.." is selected GoCoogs Outlook Express 6 October 12th 06 08:52 PM
How to print Selected Text of an E-mail msg in outlook 2003 ? Luqman Outlook - General Queries 2 May 24th 06 02:31 PM
Outlook Faults out when other when mail is opened and other users Calendars are selected: Michael Edward Kohlman Outlook - General Queries 2 May 20th 06 06:38 PM
Macro to change font of selected text in mail message? Joe HM Outlook and VBA 1 April 6th 06 06:06 PM


All times are GMT +1. The time now is 06:05 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.