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

Application.BaseCalendarCreate Method (Project)

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

Creates a base calendar.

Syntax

expression. BaseCalendarCreate( ** Name, ** FromName )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
NameRequiredStringThe name of the base calendar to create.
FromNameOptionalStringThe name of the base calendar to copy.

Return Value

Boolean

Remarks

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.

Example

The following example creates a new base calendar called "Base Holiday Calendar."

Sub CreateHolidayCalendar() 
 BaseCalendarCreate Name:="Base Holiday Calendar" 
End Sub
© 2018 Microsoft