Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.07 KB

Project.Calendar.Period.md

File metadata and controls

49 lines (29 loc) · 1.07 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Calendar.Period method (Project)
project-server
Project.Calendar.Period
b717bcbe-654b-5791-2002-d65e2a96617f
06/08/2017
medium

Calendar.Period method (Project)

Gets a Period object representing a period of time in a calendar. Read-only Period.

Syntax

expression. Period( _Start_, _Finish_ )

expression A variable that represents a Calendar object.

Parameters

Name Required/Optional Data type Description
Start Required Variant The start date of the desired period.
Finish Optional Variant The finish date of the desired period. The default value is the same date as Start.

Return value

Period

Example

The following example sets a winter holiday for the active project.

Sub SetWinterHoliday() 
    ActiveProject.Calendar.Period("12/20/02", "12/31/02").Working = False 
 End Sub

[!includeSupport and feedback]