This might help.
Use Items(index), where index is the index number of a mail message to return a single MailItem object from an Inbox folder. The following example sets the current folder as the Inbox and displays the second mail message in the folder.
Place the following in any event.
Code:Set myOlApp = CreateObject("Outlook.Application") Set myNamespace = myOlApp.GetNamespace("MAPI") Set myFolder = myNamespace.GetDefaultFolder(olFolderInbox) Set myItem = myFolder.Items(2) Text1.Text = myItem.Body
------------------
Ishamel
[email protected]
[This message has been edited by Ishamel (edited 12-08-1999).]




Reply With Quote