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 回答