Thanks Michael for putting me on the right track. This code works
imailcount = Folder.Items.Count
For iRow = imailcount To 1 Step -1
Set Msg = Folder.Items(iRow)
thanks again
Hi Michael,
Sorry for the delay. Thought I had asked for email notifications.
Yes I am removing the items as I loop through them.
Here's where I am capturing count
For iRow = 1 To Folder.Items.Count
'not exactly sure what reversing the loop looks
To reverse would that be
For iRow = -1 to...
Re: work email account outlook 2010/exchange server. Using excel macro I capture all outlook messages into a spreadsheet. I receive upwards of a thousand emails daily. Using a for next loop I move through the mail item count and record them in excel. The mail item count is half of the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.