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

Application.BaseCalendarRename Method (Project)

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

Renames a base calendar.

Syntax

expression. BaseCalendarRename( ** FromName, ** ToName )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
FromNameRequiredStringString. The name of the base calendar to rename.
ToNameRequiredStringString. The new name of the base calendar.

Return Value

Boolean

Example

The following example changes the name of the base calendar from Night Shift to Third Shift.

Sub RenameNightShift() 
 BaseCalendarRename FromName:="Night Shift", ToName:="Third Shift" 
End Sub
© 2018 Microsoft