![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Read emails from MS Outlook 2003 I use: Dim oNS As NameSpace Dim oFolder As MAPIFolder Dim objMsg As MailItem Set oNS = GetNamespace("MAPI") Set oFolder = oNS.GetDefaultFolder(olFolderInbox) For Each objMsg In oFolder.Items I read the emails from the Inbox folder as you can see from the code but need a way to ensure they are read in date order from oldest to newest. Can this be done? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Read emails from MS Outlook 2003 "vb help" <vbhelp@xxxxxx> wrote in message news:FECB8D11-9220-4E78-BF62-A7AAFA1D1462@xxxxxx Quote: >I use: > > Dim oNS As NameSpace > Dim oFolder As MAPIFolder > Dim objMsg As MailItem > > Set oNS = GetNamespace("MAPI") > Set oFolder = oNS.GetDefaultFolder(olFolderInbox) > > For Each objMsg In oFolder.Items > > I read the emails from the Inbox folder as you can see from the code but > need a way to ensure they are read in date order from oldest to newest. > > Can this be done? newsgroup is named, or vb as in the code you posted above. If the latter, I'd suggest you look for a vb newsgroup. /Al |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Help with importing emails from Outlook 2003. | Live Mail | |||
| Having troubles with Vista and Outlook 2003 receiving emails. | Vista General | |||
| transfer emails from Outlook 2003 to Outlook 2007 on new computer | Vista General | |||
| Outlook Web Access emails can be read but not replied to | Vista mail | |||
| Outlook 2003, Vista Ultimate - Recieving Emails | Vista General | |||