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

Application.BaseCalendarDelete Method (Project)

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

Deletes a base calendar.

Syntax

expression. BaseCalendarDelete( ** Name** )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
NameRequiredStringString. 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
© 2018 Microsoft