Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.34 KB

Project.Application.BaseCalendarCreate.md

File metadata and controls

57 lines (34 loc) · 1.34 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.BaseCalendarCreate method (Project)
vbapj.chm618
vbapj.chm618
project-server
Project.Application.BaseCalendarCreate
c9c92dff-255a-041b-c18d-49d6d75884e3
06/08/2017
medium

Application.BaseCalendarCreate method (Project)

Creates a base calendar.

Syntax

expression. BaseCalendarCreate( _Name_, _FromName_ )

expression A variable that represents an Application object.

Parameters

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.

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

[!includeSupport and feedback]