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

Exception.Shift5 Property (Project)

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

Gets a Shift object representing the fifth work shift in a calendar exception for a day, month, period, weekday, or throughout a year. Read-only Shift.


expression. Shift5

expression A variable that represents an Exception object.


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

Sub HalfDayFridays() 

 With ActiveProject.Calendar.WeekDays(pjFriday) 

 .Shift1.Start = #8:00:00 AM# 

 .Shift1.Finish = #12:00:00 PM# 



 End With 

End Sub

See also


Exception Object

© 2018 Microsoft