View Single Post
 
Old 05-02-2019, 07:28 AM
ThinAirDesigns ThinAirDesigns is offline Windows 10 Office 2003
Novice
 
Join Date: Sep 2018
Posts: 5
ThinAirDesigns is on a distinguished road
Default Looping backwards through a 'For Each' collection

Here is the usual VBA code for looping through all tasks in Projects:

For Each t In ActiveProject.Tasks
{code for desired action}
Next t

This loops through from the top down (as far as I can tell).

Anyone have any ideas as to how I can reverse this and go from the bottom up?

Thanks
JB
Reply With Quote