閱讀英文

共用方式為


Project) (Task 物件

代表任務。 Task 物件是 Tasks 集合的成員。 使用 Task 物件 使用 工作 (索引) ,其中 index 是任務索引編號或任務名稱,可傳回單一 Task 物件。 下面範例列印使用中專案裡每個任務分派到的資源名稱。 使用 Tasks 集合 使用 Tasks 屬性 可傳回 Tasks 集合。 下列範例會顯示選取範圍中每個任務名稱。 使用 Add 方法,可以將一個 Task 物件新增到 Tasks 集合。 下面範例將一個新建任務新增到任務清單的結尾。

方法

屬性

名稱
Active
ActualCost
ActualDuration
ActualFinish
ActualOvertimeCost
ActualOvertimeWork
ActualStart
ActualWork
ACWP
應用程式
指派
Baseline10BudgetCost
Baseline10BudgetWork
Baseline10Cost
Baseline10DeliverableFinish
Baseline10DeliverableStart
Baseline10Duration
Baseline10DurationEstimated
Baseline10DurationText
Baseline10Finish
Baseline10FinishText
Baseline10FixedCost
Baseline10FixedCostAccrual
Baseline10Start
Baseline10StartText
Baseline10Work
Baseline1BudgetCost
Baseline1BudgetWork
Baseline1Cost
Baseline1DeliverableFinish
Baseline1DeliverableStart
Baseline1Duration
Baseline1DurationEstimated
Baseline1DurationText
Baseline1Finish
Baseline1FinishText
Baseline1FixedCost
Baseline1FixedCostAccrual
Baseline1Start
Baseline1StartText
Baseline1Work
Baseline2BudgetCost
Baseline2BudgetWork
Baseline2Cost
Baseline2DeliverableFinish
Baseline2DeliverableStart
Baseline2Duration
Baseline2DurationEstimated
Baseline2DurationText
Baseline2Finish
Baseline2FinishText
Baseline2FixedCost
Baseline2FixedCostAccrual
Baseline2Start
Baseline2StartText
Baseline2Work
Baseline3BudgetCost
Baseline3BudgetWork
Baseline3Cost
Baseline3DeliverableFinish
Baseline3DeliverableStart
Baseline3Duration
Baseline3DurationEstimated
Baseline3DurationText
Baseline3Finish
Baseline3FinishText
Baseline3FixedCost
Baseline3FixedCostAccrual
Baseline3Start
Baseline3StartText
Baseline3Work
Baseline4BudgetCost
Baseline4BudgetWork
Baseline4Cost
Baseline4DeliverableFinish
Baseline4DeliverableStart
Baseline4Duration
Baseline4DurationEstimated
Baseline4DurationText
Baseline4Finish
Baseline4FinishText
Baseline4FixedCost
Baseline4FixedCostAccrual
Baseline4Start
Baseline4StartText
Baseline4Work
Baseline5BudgetCost
Baseline5BudgetWork
Baseline5Cost
Baseline5DeliverableFinish
Baseline5DeliverableStart
Baseline5Duration
Baseline5DurationEstimated
Baseline5DurationText
Baseline5Finish
Baseline5FinishText
Baseline5FixedCost
Baseline5FixedCostAccrual
Baseline5Start
Baseline5StartText
Baseline5Work
Baseline6BudgetCost
Baseline6BudgetWork
Baseline6Cost
Baseline6DeliverableFinish
Baseline6DeliverableStart
Baseline6Duration
Baseline6DurationEstimated
Baseline6DurationText
Baseline6Finish
Baseline6FinishText
Baseline6FixedCost
Baseline6FixedCostAccrual
Baseline6Start
Baseline6StartText
Baseline6Work
Baseline7BudgetCost
Baseline7BudgetWork
Baseline7Cost
Baseline7DeliverableFinish
Baseline7DeliverableStart
Baseline7Duration
Baseline7DurationEstimated
Baseline7DurationText
Baseline7Finish
Baseline7FinishText
Baseline7FixedCost
Baseline7FixedCostAccrual
Baseline7Start
Baseline7StartText
Baseline7Work
Baseline8BudgetCost
Baseline8BudgetWork
Baseline8Cost
Baseline8DeliverableFinish
Baseline8DeliverableStart
Baseline8Duration
Baseline8DurationEstimated
Baseline8DurationText
Baseline8Finish
Baseline8FinishText
Baseline8FixedCost
Baseline8FixedCostAccrual
Baseline8Start
Baseline8StartText
Baseline8Work
Baseline9BudgetCost
Baseline9BudgetWork
Baseline9Cost
Baseline9DeliverableFinish
Baseline9DeliverableStart
Baseline9Duration
Baseline9DurationEstimated
Baseline9DurationText
Baseline9Finish
Baseline9FinishText
Baseline9FixedCost
Baseline9FixedCostAccrual
Baseline9Start
Baseline9StartText
Baseline9Work
BaselineBudgetCost
BaselineBudgetWork
BaselineCost
BaselineDeliverableFinish
BaselineDeliverableStart
BaselineDuration
BaselineDurationEstimated
BaselineDurationText
BaselineFinish
BaselineFinishText
BaselineFixedCost
BaselineFixedCostAccrual
BaselineStart
BaselineStartText
BaselineWork
BCWP
BCWS
BudgetCost
BudgetWork
Calendar
CalendarGuid
CalendarObject
確認
ConstraintDate
ConstraintType
連絡人
成本
Cost1
Cost10
Cost2
Cost3
Cost4
Cost5
Cost6
Cost7
Cost8
Cost9
CostVariance
CPI
建立於
要徑
CV
CVPercent
Date1
Date10
Date2
Date3
Date4
Date5
Date6
Date7
Date8
Date9
期限
DeliverableFinish
DeliverableGuid
DeliverableName
DeliverableStart
DeliverableType
Duration
Duration1
Duration10
Duration10Estimated
Duration1Estimated
Duration2
Duration2Estimated
Duration3
Duration3Estimated
Duration4
Duration4Estimated
Duration5
Duration5Estimated
Duration6
Duration6Estimated
Duration7
Duration7Estimated
Duration8
Duration8Estimated
Duration9
Duration9Estimated
DurationText
DurationVariance
EAC
EarlyFinish
EarlyStart
EarnedValueMethod
EffortDriven
ErrorMessage
預估
ExternalTask
Finish
Finish1
Finish10
Finish2
Finish3
Finish4
Finish5
Finish6
Finish7
Finish8
Finish9
FinishSlack
FinishText
FinishVariance
FixedCost
FixedCostAccrual
Flag1
Flag10
Flag11
Flag12
Flag13
Flag14
Flag15
Flag16
Flag17
Flag18
Flag19
Flag2
Flag20
Flag3
Flag4
Flag5
Flag6
Flag7
Flag8
Flag9
FreeSlack
GroupBySummary
Guid
HideBar
Hyperlink
HyperlinkAddress
HyperlinkHREF
HyperlinkScreenTip
HyperlinkSubAddress
識別碼
IgnoreResourceCalendar
IgnoreWarnings
Index
IsDurationValid
IsFinishValid
IsPublished
IsStartValid
LateFinish
LateStart
LevelIndividualAssignments
LevelingCanSplit
LevelingDelay
LinkedFields
手動
標記
里程碑
名稱
附註
Number1
Number10
Number11
Number12
Number13
Number14
Number15
Number16
Number17
Number18
Number19
Number2
Number20
Number3
Number4
Number5
Number6
Number7
Number8
Number9
物件
OutlineChildren
OutlineCode1
OutlineCode10
OutlineCode2
OutlineCode3
OutlineCode4
OutlineCode5
OutlineCode6
OutlineCode7
OutlineCode8
OutlineCode9
OutlineLevel
OutlineNumber
OutlineParent
過度分派
OvertimeCost
OvertimeWork
Parent
PathDrivenSuccessor
PathDrivingPredecessor
PathPredecessor
PathSuccessor
PercentComplete
PercentWorkComplete
PhysicalPercentComplete
預留位置
前置任務
PredecessorTasks
PreleveledFinish
PreleveledStart
優先順序
Project
RecalcFlags
週期性
RegularWork
RemainingCost
RemainingDuration
RemainingOvertimeCost
RemainingOvertimeWork
RemainingWork
ResourceGroup
ResourceInitials
ResourceNames
ResourcePhonetics
資源
ResponsePending
繼續
彙總套件
ScheduledDuration
ScheduledFinish
ScheduledStart
SPI
SplitParts
Start
Start1
Start10
Start2
Start3
Start4
Start5
Start6
Start7
Start8
Start9
StartDriver
StartSlack
StartText
StartVariance
狀態
StatusManagerName
停駐點
子專案
SubProjectReadOnly
後續任務
SuccessorTasks
摘要
SV
SVPercent
TaskDependencies
TCPI
TeamStatusPending
Text1
Text10
Text11
Text12
Text13
Text14
Text15
Text16
Text17
Text18
Text19
Text2
Text20
Text21
Text22
Text23
Text24
Text25
Text26
Text27
Text28
Text29
Text3
Text30
Text4
Text5
Text6
Text7
Text8
Text9
TotalSlack
類型
UniqueID
UniqueIDPredecessors
UniqueIDSuccessors
UpdateNeeded
VAC
警告
WBS
WBSPredecessors
WBSSuccessors
工時
WorkVariance
符合

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應