Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Resets a base calendar.
Syntax
expression. BaseCalendarReset( _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 reset. |
Return value
Boolean
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.