Application.ChangeWorkingTimeEx method (Project)

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

Syntax

expression. ChangeWorkingTimeEx( _CalendarName_, _Locked_, _SelectedDate_, _ProjectName_ )

expression An expression that returns 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
ProjectName Optional Variant Name of the project to change. The default is the active project.

Return value

Boolean

Remarks

The ChangeWorkingTime method has the same effect as the Change Working Time command on the Project tab in the Project Ribbon.

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.