Iteration

Q

Question Boy

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
 
S

Sue Mosher [MVP-Outlook]

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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top