Application.ResourceCalendars method (Project)
Displays the Change Working Time dialog box, which prompts the user to manage calendars.
Syntax
expression. ResourceCalendars
( _Index_
, _Locked_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Index | Optional | String | The resource index number or resource name. |
Locked | Optional | Boolean | False if the user can set working time for selected dates for a resource. True if the fields are locked for editing. The default value is False. |
Return value
Boolean
Remarks
The ResourceCalendars method returns a trappable error (error code 1101) when applied to material resources.
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.