![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() 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? |
Ads |
#2
|
|||
|
|||
![]()
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 -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- 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? |
#3
|
|||
|
|||
![]()
Thank you!!!!!!!!!!!!!!!!!
That was exactly what I needed!!!!!!!!!!!!!!!!!!! ![]() "Michael Bauer" wrote: 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 -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- 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? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
I need to reverse aol security center changes to outlook 2003 | okmerlin | Outlook - Installation | 1 | February 7th 06 04:40 PM |
How do I reverse order addresses are displayed in the TO block? | CAPTN_242 | Outlook - General Queries | 2 | February 6th 06 03:03 PM |
Loop through a folder and forward each email to a given address | needsomeoutlookhelp | Outlook and VBA | 1 | February 1st 06 08:03 AM |
How to loop through Outlook tasks in VBA | Rick Williams | Outlook and VBA | 2 | January 25th 06 07:59 PM |