View Single Post
 
Old 11-20-2014, 05:50 AM
Glenn_Suggs Glenn_Suggs is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: Jul 2013
Posts: 4
Glenn_Suggs is on a distinguished road
Question Processing Outlook emails items from Access

Hello. I'm having a problem getting Access to read through all items in the Outlook inbox. It appears to be getting all except the last item and then it stops the process all together. I'm using the For Each syntax like this:

Code:
Set InboxItems = Inbox.Items
For Each Mailobject in InboxItems
... do stuff with the current item
Next
As I said, it processes all items except the last one. Any ideas?
Thanks in advance.
Glenn
Reply With Quote