Retrieving Project-Level attributes

S

Simon Ansell

Hi

I am wanting to retrieve 'project-level' formats for a
project so that they can be reapplied when next creating a
project (all within VBA - the task info is being imported
into MS Project each time from an external source).
By 'project-level' I mean such things as:

- Ganttchart timescales (middle tier, bottom tier etc)
- User-defined Ganttchart Barstyles.

I can't see any properties that return these values - all
there seems to be are some methods to SET some of them.

Any suggestions on where I can find some/all of these
attributes ? At this stage I am still working with files
(MPP) - but I don't rule out moving to a database in the
future if it would help.

Thks
SIMON A
 
J

Jan De Messemaeker

Hi Simon,

The object you are looking for is the VIEW
It can be moved, deleted etc. through the organizer
From a file you move the view into the Global.mpt
Then you can move it into your new file
Lookup the OrganizerMoveItem method.
HTH

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
Project Management Consultancy
Prom+ade BVBA
32-495-300 620
 

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