Sorting columns in Project from code

D

Dewey

Hi
Is there a way to tell Project to sort a gantt chart by Duration,
ascending, from VB?
 
R

Rod Gill

Hi,

Yes. Using automation create an Application object, then use its Sort
method. Sort can either renumber ID numbers or not so it's easy to re-sort
by ID afterwards.

In Project, record a macro of you sorting to get parameters etc.
 
Top