Period Method
Returns a Period object representing a period of time in a calendar.
Syntax
expression**.Period(Start, Finish)**
*expression * Optional. An expression that returns a Calendar object.
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.
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
Applies to | Calendar Object, Calendars Collection Object
See Also | BaseCalendars Method | Calendar Property | Days Property | Months Property | Period Object | Years Property