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

WeekDay.Shift4 Property (Project)

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

Gets a Shift object representing the fourth work shift in a weekday. Read-only Shift.

Syntax

expression. Shift4

expression A variable that represents a WeekDay object.

Example

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# 
 .Shift2.Clear 
 .Shift3.Clear 
 End With 

End Sub
© 2018 Microsoft