Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (25 loc) · 750 Bytes

year-shift1-property-project.md

File metadata and controls

41 lines (25 loc) · 750 Bytes
title ms.prod api_name ms.assetid ms.date
Year.Shift1 Property (Project)
project-server
Project.Year.Shift1
4c352439-21c1-e369-7a33-d8e92ba23f2d
06/08/2017

Year.Shift1 Property (Project)

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

Syntax

expression. Shift1

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