Year 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 a year in a project calendar. The Year object is a member of the Years collection.

Name

Description

Default

Resets the Year item of a resource calendar to the value in the corresponding value in the base calendar.

Name

Description

Application

Gets the Application object. Read-only Application.

Calendar

Gets a Calendar object representing the calendar containing the Year object. Read-only Calendar.

Count

Gets the number of days in the Year object. Read-only Integer.

Index

Gets the index of a Year object in the Years containing object. Read-only Integer.

Months

Gets a Months collection representing the months in a year. Read-only Months.

Name

Gets the name of a Year object. Read-only String.

Parent

Gets the parent of the Year object. Read-only Calendar.

Shift1

Gets a Shift object representing the first work shift throughout a year. Read-only Shift.

Shift2

Gets a Shift object representing the second work shift throughout a year. Read-only Shift.

Shift3

Gets a Shift object representing the third work shift throughout a year. Read-only Shift.

Shift4

Gets a Shift object representing the fourth work shift throughout a year. Read-only Shift.

Shift5

Gets a Shift object representing the fifth work shift throughout a year. Read-only Shift.

Working

True if any day in the year is a working day. Read/write Boolean.

Show: