Resource.Calendar Property

Project Developer Reference

Returns a Calendar object representing a calendar for a Resource. Read-only Object.

Syntax

expression.Calendar

expression   A variable that represents a Resource object.

Return Value
Calendar

Remarks

The Calendar property does not return any meaningful information for material resources. Setting a value returns a trappable error (error code 1101) when applied to material resources.

Example
The following example resets the calendar for the active project.

Visual Basic for Applications
  Sub ResetActiveProjectCalendar()
    ActiveProject.Calendar.Reset
End Sub

See Also