Table of contents
TOC
Collapse the table of content
Expand the table of content

Availability.AvailableTo Property (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets the latest date that a resource is available for work on the project, as specified in the Availability row of the Resource Availability grid for the resource. Read/write Variant.

Syntax

expression. AvailableTo

expression A variable that represents an Availability object.

Remarks

You can set availability information on the General tab of the Resource Information dialog box, in the Resource Availability grid.

The AvailableTo property does not return any meaningful information for material resources.

Example

The following line of code prints the latest date that the resource is available, during the second availability period. If the availability period is not defined, the code results in run-time error 1101, "The argument value is not valid."

Debug.Print ActiveProject.Resources(1).Availabilities(2).AvailableFrom
© 2018 Microsoft