Share via


Application.BaseCalendarDelete Method

Project Developer Reference

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.

Visual Basic for Applications
  Sub DeleteCalendar()
Dim CalendarName As String

CalendarName = InputBox$("Enter name of base calendar to delete:")
<strong class="bterm">BaseCalendarDelete</strong> Name:=CalendarName

End Sub

See Also