Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 844 Bytes

Project.Day.Shift4.md

File metadata and controls

42 lines (27 loc) · 844 Bytes
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Day.Shift4 property (Project)
project-server
Project.Day.Shift4
5cb81b06-652d-d5fc-d69c-2f21dd2135c1
06/08/2017
medium

Day.Shift4 property (Project)

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

Syntax

expression. Shift4

expression A variable that represents a Day 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

[!includeSupport and feedback]