Calendar.Period method (Project)

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


expression. Period( _Start_, _Finish_ )

expression A variable that represents a Calendar object.


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



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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.