Reverse loop?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have the following loop:

For Each mail In Folder.Items
..
..
..

Next

The loop runs from the first email that was sent/accepted to the last one.
How can I make the loop go backwords? from the last email that was
sent/accepted to the first?
 
Am Wed, 1 Feb 2006 00:46:29 -0800 schrieb yonina:

dim i&
For i=Folder.Items.Count to 1 step-1
set mail=Folder.Items(i)
Next
 
Back
Top