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

Calendar.Period Method (Project)

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

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

NameRequired/OptionalData TypeDescription
StartRequiredVariantThe start date of the desired period.
FinishOptionalVariantThe 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
© 2018 Microsoft