BaseCalendarReset Method

Resets a base calendar.

Syntax

expression**.BaseCalendarReset(Name)**

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

Name Required String. The name of the base calendar to reset.

Remarks

Base calendars have the following default characteristics:

  • Monday through Friday are working days with two shifts (8 A.M. to 12 P.M. and 1 P.M. to 5 P.M.).
  • Saturday and Sunday are nonworking days.

Example

The following example resets the Standard base calendar to the default settings.

Sub RestoreBaseCalendar()
    BaseCalendarReset Name:="Standard"
End Sub

Applies to | Application Object

See Also | BaseCalendarCreate Method | BaseCalendarDelete Method | BaseCalendarEditDays Method | BaseCalendarRename Method | BaseCalendars Method | ChangeWorkingTime Method