Application.ChangeWorkingTime Method

Project Developer Reference

Displays the Change Working Time dialog box, which prompts the user to change a calendar.

Syntax

expression.ChangeWorkingTime(CalendarName, Locked, SelectedDate)

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
CalendarName Optional String The name of the calendar.
Locked Optional Boolean True if Project disables the New and Options buttons in the Change Working Time dialog box. The default value is False.
SelectedDate Optional Variant

Return Value
Boolean

Remarks

The ChangeWorkingTime method has the same effect as the Change Working Time command on the Tools menu.

See Also