Create Master Project from sub projects w/ VB.Net

M

Michael

I need to automate the creation of a master project combining several individual project files into 1. I also need to bring along the notes from the sub projects into the master. Can anyone help with this? When I manually do an insert project and select the files I'm interested in, the notes do not seem to follow.

Regards,

Michael
 
G

Gérard Ducouret

Hello Michael,

You could adapt the following VBA procedure :

Sub InsertProject()
SelectTaskField Row:=3, Column:="Name"
ConsolidateProjects Filenames:="C:\Documents and Settings\My
documents\Sous-Proj.mpp", NewWindow:=False, HideSubtasks:=True
End Sub

....but manually or by VBA procedure, the Notes field must follows !

Gérard Ducouret

Michael said:
I need to automate the creation of a master project combining several
individual project files into 1. I also need to bring along the notes from
the sub projects into the master. Can anyone help with this? When I
manually do an insert project and select the files I'm interested in, the
notes do not seem to follow.
 

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