Application.BaseCalendarDelete Method (Project)

Deletes a base calendar.

Syntax

expression .BaseCalendarDelete(Name)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Name

Required

String

String. The name of the base calendar to delete.

Return Value

Boolean

Example

The following example deletes the base calendar entered by the user.

Sub DeleteCalendar() 
 
 Dim CalendarName As String 
 
 CalendarName = InputBox$("Enter name of base calendar to delete:") 
 BaseCalendarDelete Name:=CalendarName 
 
End Sub