Application.BaseCalendarCreate method (Project)
Creates a base calendar.
expression. BaseCalendarCreate
( _Name_
, _FromName_
)
expression A variable that represents an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Name | Required | String | The name of the base calendar to create. |
FromName | Optional | String | The name of the base calendar to copy. |
Boolean
To create a local calendar when Project Professional is logged on to Project Server, you must check Allow projects to use local base calendars on the Additional Server Settings page in Project Web Access. Restart Project Professional after changing the setting in Project Web Access.
The following example creates a new base calendar called "Base Holiday Calendar."
Sub CreateHolidayCalendar()
BaseCalendarCreate Name:="Base Holiday Calendar"
End Sub
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.