How to change the order of the task collection

B

Ben

Hi,
When I loop through the task collection, the tasks are ordered by ID. Is
there a way to change this ordering - I'd like to order them by Finish Date.
 
J

Jan De Messemaeker

Hi,

1. Use the Sort method to sort by finish date (do not forget to NOT keep
outline structure)
2. SelectAll
3. Now use Activeselection.tasks

HTH

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top