Shift object (Project)

Represents a work shift for a day, month, period, weekday, or year. There is no collection for Shift objects. The Shift object can be accessed through the Shiftn properties of appropriate objects, such as the Day. Shift1 property.

Using the Shift Object

Use the Shiftn property to return a Shift object. The following example sets every Friday as a half-day by setting the start and finish times for the first shift and clearing the values of the second and third shifts.

Methods

Name
Clear

Properties

Name
Application
Finish
Index
Parent
Start

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.