Table of contents
Collapse the table of content
Expand the table of content

Application.MakeLocalCalendarEnterprise Method (Project)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Converts a local calendar to an enterprise calendar.


expression. MakeLocalCalendarEnterprise( ** OldName, ** NewName )

expression A variable that represents an Application object.


NameRequired/OptionalData TypeDescription
OldNameOptionalStringName of the local calander.
NewNameOptionalStringName of the Enterprise calander.

Return Value



The NewName parameter is not used. For example, if a local calendar is named "TestCal" and you execute the code MakeLocalCalendarEnterprise OldName:="TestCal", NewName:="New TestCal" , the result is an enterprise calendar named "TestCal".

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 local calendar named TestCal, and then saves it as an enterprise calendar with the same name. If Project Professional is not logged on Project Server, MakeLocalCalendarEnterprise results in a run-time error 1100.

Sub TestCalendar() 
 BaseCalendarCreate Name:="TestCal" 
 MakeLocalCalendarEnterprise OldName:="TestCal" 
End Sub
© 2017 Microsoft