1

I have a ".mpp" file that has a master project and sub-projects. I want to be able to modify and read the sub-projects, without having to call "FileOpen" for each sub-project.

I see that Globals.ThisAddin.Application.ActiveProject has a SubProjects collection, but each element seems to be of type sub-project.

The problem with FileOpen is that it visually pops up a new instance of Microsoft Project.

Basically, is it possible to call FileOpen (or any other similar method) without visually showing a new instance of Microsoft Project?

4

1 に答える 1

1

解決策が見つかりました(ただし、Office 2010以降でのみ機能します)。

基本的に、Globals.ThisAddin.Application.Subprojects [index] .SourceProjectは、通常のプロジェクトのように操作できるサブプロジェクトへの参照を返します。

于 2012-12-17T10:44:54.917 に答える