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???
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???