C
Chris Molland
Hello,
I am really struggling to write the VB code to insert a subproject into a
project file.
I am using the following:
'Insert the Task from the library.
oProjApp.ConsolidateProjects( _
Filenames:=task_path, _
NewWindow:=False, _
AttachToSources:=False, _
HideSubtasks:=True)
I keep getting a warning message "Do you want to save changes to "filename"?
referring to the MS Project file which I want to insert.
I had hoped that by setting "AttachToSources" to False the inserted
subproject would be completely divorced from the source file.
I simply want to insert the referenced MS Project file as a Subproject after
any previous tasks, be they Tasks or subprojects.
I hope someone can help.
Regards
I am really struggling to write the VB code to insert a subproject into a
project file.
I am using the following:
'Insert the Task from the library.
oProjApp.ConsolidateProjects( _
Filenames:=task_path, _
NewWindow:=False, _
AttachToSources:=False, _
HideSubtasks:=True)
I keep getting a warning message "Do you want to save changes to "filename"?
referring to the MS Project file which I want to insert.
I had hoped that by setting "AttachToSources" to False the inserted
subproject would be completely divorced from the source file.
I simply want to insert the referenced MS Project file as a Subproject after
any previous tasks, be they Tasks or subprojects.
I hope someone can help.
Regards