Thread: Iteration
View Single Post
  #1  
Old May 16th 08, 06:07 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Iteration

What isn't working? Iterating an Items collection is relatively simple:

Set myItems = myFolder.Items
For Each itm in myItems
' process itm
Next


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


"Question Boy" wrote in message ...
I have a folder in my Inbox titled "Processing" that I need to iterate
through the mail items one by one and run another bit of code against but
can't seem to get my iteration to work?


Thank you for your help,

QB

Ads