Availability.AvailableFrom property (Project)

Gets the earliest 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. AvailableFrom

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 AvailableFrom property does not return any meaningful information for material resources.

Example

The following line of code prints the earliest 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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.