Year.Shift1 Property (Project)

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


expression. Shift1

expression A variable that represents a Year object.


The following example schedules a half-day of work on Fridays by creating an 8 A.M. to noon shift.

Sub HalfDayFridays() 
 With ActiveProject.Calendar.WeekDays(pjFriday) 
 .Shift1.Start = #8:00:00 AM# 
 .Shift1.Finish = #12:00:00 PM# 
 End With 
End Sub