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
|