Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
developer
active.documents
automation
binary.file_format
clipboard.dde
com.add_ins
hosting.controls
internet_other
office.sdks
officedev
officedev.other
outlook.forms
outlook.vba
smarttags
vba
web.components
  
 
date: Wed, 16 Jan 2008 03:59:01 -0800,    group: microsoft.public.office.developer.outlook.vba        back       


Get the Current Mail that is being viewed in Outlook 2007   
I have used the msoutl.olb api to get the Application and am able to create 
and send mails .... I wanted to know how to access the Current Mail that is 
being viewed in Outlook2007???
date: Wed, 16 Jan 2008 03:59:01 -0800   author:   AIForst

Re: Get the Current Mail that is being viewed in Outlook 2007   
Application.ActiveExplroer.Selection(1) for an item being viewed in the reading pane, Application.ActiveInspector.CurrentItem for an item being viewed in its own window. 

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


"AIForst"  wrote in message news:68032F3D-2079-406B-A390-4E6BE1D87012@microsoft.com...
>I have used the msoutl.olb api to get the Application and am able to create 
> and send mails .... I wanted to know how to access the Current Mail that is 
> being viewed in Outlook2007???
date: Wed, 16 Jan 2008 07:58:58 -0500   author:   Sue Mosher [MVP-Outlook]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us