Assignment Members (Project)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents an assignment for a task or resource. The Assignment object is a member of an Assignments or an OverAllocatedAssignments collection.

Methods

Name

Description

AppendNotes

Appends text to the Notes field.

Delete

Deletes the Assignment object from an Assignments collection.

EnterpriseTeamMember

Indicates whether the specified assignment belongs to the project. True if the assignment belongs to the specified project; otherwise False. Available in Project Professional only.

Replan

Replans the assignment by decreasing work or increasing duration.

TimeScaleData

Sets options for displaying timephased data.

Properties

Name

Description

ActualCost

Gets or sets the actual cost for the assignment. Read/write Variant.

ActualFinish

Gets or sets the actual finish date of an assignment. Read/write Variant.

ActualOvertimeCost

Gets the actual overtime cost for an assignment. Read-only Variant.

ActualOvertimeWork

Gets or sets the actual overtime work (in minutes) for an assignment. Read/write Variant.

ActualStart

Gets or sets the actual start date of the assignment. Read/write Variant.

ActualWork

Gets or sets the actual work (in minutes) for the assignment. Read/write Variant.

ACWP

Gets the actual cost of work performed for the assignment. Read-only Variant.

Application

Gets the Application object. Read-only Application.

Baseline10BudgetCost

Gets or sets the baseline10 budget cost for an Assignment. Read/write Variant.

Baseline10BudgetWork

Gets or sets the baseline10 budget work (in hours) for an Assignment. Read/write Variant.

Baseline10Cost

Gets or sets the baseline cost for an Assignment. Read/write Variant.

Baseline10Finish

Gets or sets the baseline finish date of a task Assignment. Read/write Variant.

Baseline10Start

Gets or sets the baseline start date of a task Assignment. Read/write Variant.

Baseline10Work

Gets or sets the baseline work (in minutes) for an Assignment. Read/write Variant.

Baseline1BudgetCost

Gets or sets the baseline1 budget cost for an Assignment. Read/write Variant.

Baseline1BudgetWork

Gets or sets the baseline1 budget work (in hours) for an Assignment. Read/write Variant.

Baseline1Cost

Gets or sets the baseline cost for an Assignment. Read/write Variant.

Baseline1Finish

Gets or sets the baseline finish date of a task Assignment. Read/write Variant.

Baseline1Start

Gets or sets the baseline start date of a task Assignment. Read/write Variant.

Baseline1Work

Gets or sets the baseline work (in minutes) for an Assignment. Read/write Variant.

Baseline2BudgetCost

Gets or sets the baseline2 budget cost for an Assignment. Read/write Variant.

Baseline2BudgetWork

Gets or sets the baseline2 budget work (in hours) for an Assignment. Read/write Variant.

Baseline2Cost

Gets or sets the baseline cost for an Assignment. Read/write Variant.

Baseline2Finish

Gets or sets the baseline finish date of a task Assignment. Read/write Variant.

Baseline2Start

Gets or sets the baseline start date of a task Assignment. Read/write Variant.

Baseline2Work

Gets or sets the baseline work (in minutes) for an Assignment. Read/write Variant.

Baseline3BudgetCost

Gets or sets the baseline3 budget cost for an Assignment. Read/write Variant.

Baseline3BudgetWork

Gets or sets the baseline3 budget work (in hours) for an Assignment. Read/write Variant.

Baseline3Cost

Gets or sets the baseline cost for an Assignment. Read/write Variant.

Baseline3Finish

Gets or sets the baseline finish date of a task Assignment. Read/write Variant.

Baseline3Start

Gets or sets the baseline start date of a task Assignment. Read/write Variant.Read/write.

Baseline3Work

Gets or sets the baseline work (in minutes) for an Assignment. Read/write Variant.

Baseline4BudgetCost

Gets or sets the baseline4 budget cost for an Assignment. Read/write Variant.

Baseline4BudgetWork

Gets or sets the baseline4 budget work (in hours) for an Assignment. Read/write Variant.

Baseline4Cost

Gets or sets the baseline cost for an Assignment. Read/write Variant.

Baseline4Finish

Gets or sets the baseline finish date of a task Assignment. Read/write Variant.

Baseline4Start

Gets or sets the baseline start date of a task Assignment. Read/write Variant.

Baseline4Work

Gets or sets the baseline work (in minutes) for an Assignment. Read/write Variant.

Baseline5BudgetCost

Gets or sets the baseline5 budget cost for an Assignment. Read/write Variant.

Baseline5BudgetWork

Gets or sets the baseline5 budget work (in hours) for an Assignment. Read/write Variant.

Baseline5Cost

Gets or sets the baseline cost for an Assignment. Read/write Variant.

Baseline5Finish

Gets or sets the baseline finish date of a task Assignment . Read/write Variant.

Baseline5Start

Gets or sets the baseline start date of a task Assignment. Read/write Variant.

Baseline5Work

Gets or sets the baseline work (in minutes) for an Assignment. Read/write Variant.

Baseline6BudgetCost

Gets or sets the baseline6 budget cost for an Assignment. Read/write Variant.

Baseline6BudgetWork

Gets or sets the baseline6 budget work (in hours) for an Assignment. Read/write Variant.

Baseline6Cost

Gets or sets the baseline cost for an Assignment. Read/write Variant.

Baseline6Finish

Gets or sets the baseline finish date of a task Assignment. Read/write Variant.

Baseline6Start

Gets or sets the baseline start date of a task Assignment. Read/write Variant.

Baseline6Work

Gets or sets the baseline work (in minutes) for an Assignment. Read/write Variant.

Baseline7BudgetCost

Gets or sets the baseline7 budget cost for an Assignment. Read/write Variant.

Baseline7BudgetWork

Gets or sets the baseline7 budget work (in hours) for an Assignment. Read/write Variant.

Baseline7Cost

Gets or sets the baseline cost for an Assignment. Read/write Variant.

Baseline7Finish

Gets or sets the baseline finish date of a task Assignment. Read/write Variant.

Baseline7Start

Gets or sets the baseline start date of a task Assignment. Read/write Variant.

Baseline7Work

Gets or sets the baseline work (in minutes) for an Assignment. Read/write Variant.

Baseline8BudgetCost

Gets or sets the baseline8 budget cost for an Assignment. Read/write Variant.

Baseline8BudgetWork

Gets or sets the baseline8 budget work (in hours) for an Assignment. Read/write Variant.

Baseline8Cost

Gets or sets the baseline cost for an Assignment. Read/write Variant.

Baseline8Finish

Gets or sets the baseline finish date of a task Assignment. Read/write Variant.

Baseline8Start

Gets or sets the baseline start date of a task Assignment. Read/write Variant.

Baseline8Work

Gets or sets the baseline work (in minutes) for an Assignment. Read/write Variant.

Baseline9BudgetCost

Gets or sets the baseline9 budget cost for an Assignment. Read/write Variant.

Baseline9BudgetWork

Gets or sets the baseline9 budget work (in hours) for an Assignment. Read/write Variant.

Baseline9Cost

Gets or sets the baseline cost for an Assignment. Read/write Variant.

Baseline9Finish

Gets or sets the baseline finish date of a task Assignment. Read/write Variant.

Baseline9Start

Gets or sets the baseline start date of a task Assignment. Read/write Variant.

Baseline9Work

Gets or sets the baseline work (in minutes) for an Assignment. Read/write Variant.

BaselineBudgetCost

Gets or sets the baseline budget cost for an Assignment. Read/write Variant.

BaselineBudgetWork

Gets or sets the baseline budget work (in hours) for an Assignment. Read/write Variant.

BaselineCost

Gets or sets the baseline cost for an Assignment. Read/write Variant.

BaselineFinish

Gets or sets the baseline finish date of a task Assignment. Read/write Variant.

BaselineStart

Gets or sets the baseline start date of a task Assignment. Read/write Variant.

BaselineWork

Gets or sets the baseline work (in minutes) for an Assignment. Read/write Variant.

BCWP

Gets the budgeted cost of work performed for the assignment. Read-only Variant.

BCWS

Gets the budgeted cost of work scheduled for the assignment. Read-only Variant.

BookingType

Gets the booking type for an assignment. Can be one of the following PjBookingTypes constants: pjBookingTypeCommitted or pjBookingTypeProposed. Read/write Long.

BudgetCost

Gets or sets the budget cost for an Assignment. Read/write Variant.

BudgetWork

Gets or sets the budget work (in hours) for an Assignment. Read/write Variant.

Confirmed

Gets the results of task assignments in a Project mail message. True if a resource of a project or task has accepted the assignment. Read/write Variant.

Cost

Gets the total cost of the assignment. Read/write Variant.

Cost1

Gets or sets the value of the Cost1 roll-down custom field for the assignment. Read/write Variant.

Cost10

Gets or sets the value of the Cost10 roll-down custom field for the assignment. Read/write Variant.

Cost2

Gets or sets the value of the Cost2 roll-down custom field for the assignment. Read/write Variant.

Cost3

Gets or sets the value of the Cost3 roll-down custom field for the assignment. Read/write Variant.

Cost4

Gets or sets the value of the Cost4 roll-down custom field for the assignment. Read/write Variant.

Cost5

Gets or sets the value of the Cost5 roll-down custom field for the assignment. Read/write Variant.

Cost6

Gets or sets the value of the Cost6 roll-down custom field for the assignment. Read/write Variant.

Cost7

Gets or sets the value of the Cost7 roll-down custom field for the assignment. Read/write Variant.

Cost8

Gets or sets the value of the Cost8 roll-down custom field for the assignment. Read/write Variant.

Cost9

Gets or sets the value of the Cost9 roll-down custom field for the assignment. Read/write Variant.

CostRateTable

Gets or sets the cost rate table in effect for the assignment. Read/write Variant.

CostVariance

Gets the variance between the baseline cost and the cost of an Assignment. Read-only Variant.

Created

Gets the date an Assignment was created. Read-only Variant.

CV

Gets the cost variance for an Assignment. Read-only Variant.

Date1

Gets or sets the value of the Date1 custom field for the assignment. Read/write Variant.

Date10

Gets or sets the value of the Date10 custom field for the assignment. Read/write Variant.

Date2

Gets or sets the value of the Date2 custom field for the assignment. Read/write Variant.

Date3

Gets or sets the value of the Date3 custom field for the assignment. Read/write Variant.

Date4

Gets or sets the value of the Date4 custom field for the assignment. Read/write Variant.

Date5

Gets or sets the value of the Date5 custom field for the assignment. Read/write Variant.

Date6

Gets or sets the value of the Date6 custom field for the assignment. Read/write Variant.

Date7

Gets or sets the value of the Date7 custom field for the assignment. Read/write Variant.

Date8

Gets or sets the value of the Date8 custom field for the assignment. Read/write Variant.

Date9

Gets or sets the value of the Date9 custom field for the assignment. Read/write Variant.

Delay

Gets or sets the amount of time an assignment is delayed in minutes. Read/write Variant.

Duration1

Gets or sets the value of an assignment duration custom field. Read/write Variant.

Duration10

Gets or sets the value of an assignment duration custom field. Read/write Variant.

Duration2

Gets or sets the value of an assignment duration custom field. Read/write Variant.

Duration3

Gets or sets the value of an assignment duration custom field. Read/write Variant.

Duration4

Gets or sets the value of an assignment duration custom field. Read/write Variant.

Duration5

Gets or sets the value of an assignment duration custom field. Read/write Variant.

Duration6

Gets or sets the value of an assignment duration custom field. Read/write Variant.

Duration7

Gets or sets the value of an assignment duration custom field. Read/write Variant.

Duration8

Gets or sets the value of an assignment duration custom field. Read/write Variant.

Duration9

Gets or sets the value of an assignment duration custom field. Read/write Variant.

Finish

Gets or sets the finish date of an assignment. Read/write Variant.

Finish1

Gets or sets the local Finish custom field of the assignment. Read/write Variant.

Finish10

Gets or sets the local Finish custom field of the assignment. Read/write Variant.

Finish2

Gets or sets the local Finish custom field of the assignment. Read/write Variant.

Finish3

Gets or sets the local Finish custom field of the assignment. Read/write Variant.

Finish4

Gets or sets the local Finish custom field of the assignment. Read/write Variant.

Finish5

Gets or sets the local Finish custom field of the assignment. Read/write Variant.

Finish6

Gets or sets the local Finish custom field of the assignment. Read/write Variant.

Finish7

Gets or sets the local Finish custom field of the assignment. Read/write Variant.

Finish8

Gets or sets the local Finish custom field of the assignment. Read/write Variant.

Finish9

Gets or sets the local Finish custom field of the assignment. Read/write Variant.

FinishVariance

Gets the variance (in minutes) between the baseline finish date and the finish date of an Assignment. Read-only Variant.

FixedMaterialAssignment

True if the consumption of the assigned material resource occurs in a single, fixed amount. False if the consumption occurs at an hourly rate. Read-only Boolean.

Flag1

True if the flag associated with an Assignment is set. Read/write Variant.

Flag10

True if the flag associated with an Assignment is set. Read/write Variant.

Flag11

True if the flag associated with an Assignment is set. Read/write Variant.

Flag12

True if the flag associated with an Assignment is set. Read/write Variant.

Flag13

True if the flag associated with an Assignment is set. Read/write Variant.

Flag14

True if the flag associated with an Assignment is set. Read/write Variant.

Flag15

True if the flag associated with an Assignment is set. Read/write Variant.

Flag16

True if the flag associated with an Assignment is set. Read/write Variant.

Flag17

True if the flag associated with an Assignment is set. Read/write Variant.

Flag18

True if the flag associated with an Assignment is set. Read/write Variant.

Flag19

True if the flag associated with an Assignment is set. Read/write Variant.

Flag2

True if the flag associated with an Assignment is set. Read/write Variant.

Flag20

True if the flag associated with an Assignment is set. Read/write Variant.

Flag3

True if the flag associated with an Assignment is set. Read/write Variant.

Flag4

True if the flag associated with an Assignment is set. Read/write Variant.

Flag5

True if the flag associated with an Assignment is set. Read/write Variant.

Flag6

True if the flag associated with an Assignment is set. Read/write Variant.

Flag7

True if the flag associated with an Assignment is set. Read/write Variant.

Flag8

True if the flag associated with an Assignment is set. Read/write Variant.

Flag9

True if the flag associated with an Assignment is set. Read/write Variant.

Guid

Gets the GUID of the assignment. Read-only String.

Hyperlink

Gets or sets a friendly name representing a hyperlink address. The name may also be a URL or UNC path. Read/write String.

HyperlinkAddress

Gets or sets the URL or UNC path of a document. Read/write String.

HyperlinkHREF

Gets or sets a combination of the hyperlink address and subaddress, separated by a "#". Read/write String.

HyperlinkScreenTip

Gets or sets a ScreenTip for the hyperlink. Read/write String.

HyperlinkSubAddress

Gets or sets the address of a location within the target document. Read/write String.

Index

Gets the index of an Assignment object in the containing Assignments collection. Read-only Long.

LevelingDelay

Gets or sets the amount of time the assignment is delayed due to leveling. Read/write Variant.

LinkedFields

True if the Assignment contains fields that are linked to other applications through OLE. Read-only Boolean.

Notes

Gets or sets the notes for an assignment. Read/write String.

Number1

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number10

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number11

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number12

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number13

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number14

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number15

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number16

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number17

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number18

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number19

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number2

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number20

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number3

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number4

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number5

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number6

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number7

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number8

Gets or sets a Number local custom field for an assignment. Read/write Double.

Number9

Gets or sets a Number local custom field for an assignment. Read/write Double.

Overallocated

True if an assignment is overallocated. Read-only Boolean.

OvertimeCost

Gets the overtime cost for an assignment. Read-only Variant.

OvertimeWork

Gets or sets the overtime work for an assignment. Read/write Variant.

Owner

Gets or sets the name of the assignment owner. Read/write String.

Parent

Gets the parent of the Assignment object. Read-only Object.

Peak

Gets the largest number of resource units for the assignment. Read-only Variant.

PercentWorkComplete

Gets or sets the percentage of work complete for an assignment. Read/write Variant.

Project

Gets the name of the project containing the Assignment. Read-only String.

RegularWork

Gets the amount of regular work for the assignment. Read/write Variant.

RemainingCost

Gets the remaining cost for the assignment. Read-only Variant.

RemainingOvertimeCost

Gets the remaining overtime cost for the assignment. Read-only Variant.

RemainingOvertimeWork

Gets the remaining overtime work (in minutes) for the assignment. Read/write Variant.

RemainingWork

Gets or sets the remaining work (in minutes) for the assignment. Read/write Variant.

Resource

Gets the Resource object associated with the Assignment. Read-only Resource.

ResourceGuid

Gets the GUID of the resource for the assignment. Read-only String.

ResourceID

Gets or sets the identification number of the resource for the assignment. Read/write Long.

ResourceName

Gets or sets the name of the resource for the assignment. Read/write String.

ResourceRequestType

Gets or sets the type of resource request for the assignment. Read/write PjResourceRequestType.

ResourceType

Gets the type of resource for the assignment. Read-only PjResourceTypes.

ResourceUniqueID

Gets or sets a unique identification number of the resource for the assignment. Read/write Long.

ResponsePending

True if a response has not been received for a TeamAssign message. Read/write Boolean.

Start

Gets or sets the start date of the assignment. Read/write Variant.

Start1

Gets or sets a Start local custom field for the assignment. Read/write Variant.

Start10

Gets or sets a Start local custom field for the assignment. Read/write Variant.

Start2

Gets or sets a Start local custom field for the assignment. Read/write Variant.

Start3

Gets or sets a Start local custom field for the assignment. Read/write Variant.

Start4

Gets or sets a Start local custom field for the assignment. Read/write Variant.

Start5

Gets or sets a Start local custom field for the assignment. Read/write Variant.

Start6

Gets or sets a Start local custom field for the assignment. Read/write Variant.

Start7

Gets or sets a Start local custom field for the assignment. Read/write Variant.

Start8

Gets or sets a Start local custom field for the assignment. Read/write Variant.

Start9

Gets or sets a Start local custom field for the assignment. Read/write Variant.

StartVariance

Gets the variance (in minutes) between the baseline start date and the start date of the assignment. Read-only Variant.

Summary

Indicates whether the assignment is on a summary task. Read-only String.

SV

Gets the earned value scheduled variance (SV) of the assignment. Read-only Variant.

Task

Gets the Task object associated with the Assignment. Read-only Task.

TaskGuid

Gets the GUID of the task for the assignment. Read-only String.

TaskID

Gets or sets the identification number of a task in the assignment. Read/write Long.

TaskName

Gets or sets the name of the task in the assignment. Read/write String.

TaskOutlineNumber

Gets the task outline number of the assignment. Read-only String.

TaskSummaryName

Gets the name of the summary task for the task in the assignment. Read-only String.

TaskUniqueID

Gets or sets the unique identification number of the task in the assignment. Read/write Long.

TeamStatusPending

True if a response has not been received for a progress request message. False if the assigned resource has sent a response. Read/write Boolean.

Text1

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text10

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text11

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text12

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text13

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text14

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text15

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text16

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text17

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text18

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text19

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text2

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text20

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text21

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text22

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text23

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text24

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text25

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text26

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text27

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text28

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text29

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text3

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text30

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text4

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text5

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text6

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text7

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text8

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

Text9

Gets or sets the value of a local Text custom field for the assignment. Read/write String.

UniqueID

Gets the unique identification number of the assignment. Read-only Long.

Units

Gets or sets the number of units completed for the assignment. Read-write Variant.

UpdateNeeded

True if the resource assigned to a task needs to be updated regarding the status of the task. Read-only Boolean.

VAC

Gets the VAC (Variance At Completion) cost for the assignment. Read-only Variant.

WBS

Gets or sets the work breakdown structure (WBS) code of the assignment. Read/write String.

Work

Gets or sets the work (in minutes) for the assignment. Read/write Variant.

WorkContour

Gets or sets the type of work contour for the assignment. Read/write PjWorkContourType.

WorkVariance

Gets the variance between the baseline work and the work for the assignment. Read-only Variant.

Compliant

Gets the compliant for a task assignment in Project. Read-only Introduced in Office 2016.