Application.BaselineSave Method
Project Developer Reference |
Creates a baseline plan.
Syntax
expression.BaselineSave(All, Copy, Into, RollupToSummaryTasks, RollupFromSubtasks, SetDefaults)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
All | Optional | Boolean | True if the baseline plan is set for all tasks. False if the baseline plan is set only for the selected tasks. The default value is True. |
Copy | Optional | Long | The fields to copy. Can be one of the PjSaveBaselineFrom constants. |
Into | Optional | Long | Where the fields should be copied. Can be one of the PjSaveBaselineTo constants. |
RollupToSummaryTasks | Optional | Boolean | True if parent summary task baseline data are rolled up from selected summary tasks. |
RollupFromSubtasks | Optional | Boolean | True if summary task baseline data are rolled up from subtasks. |
SetDefaults | Optional | Boolean | True if the values of RollupToSummaryTasks or RollupFromSubtasks are used as default values for new projects. |
Return Value
Boolean
Remarks
RollupToSummaryTasks and RollupFromSubTasks will have an effect only if All is false.
Example
The following example first saves the baseline and then clears it.
Visual Basic for Applications |
---|
|
See Also