BaseCalendarRename Method

Renames a base calendar.

Syntax

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

*expression   *     Optional. An expression that returns an Application object.

FromName Required String. The name of the base calendar to rename.

ToName Required String. The new name of the base calendar.

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

Applies to | Application Object

See Also | BaseCalendarCreate Method | BaseCalendarDelete Method | BaseCalendarEditDays Method | BaseCalendarReset Method | BaseCalendars Method