共用方式為


Application.BaseCalendars Method (Project)

Displays the Change Working Time dialog box, which prompts the user to change a calendar.

Syntax

expression .BaseCalendars(Index, Locked)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Index

Optional

String

The calendar index number or calendar name.

Locked

Optional

Boolean

True if Microsoft Project 2010 disables the New and Options buttons in the Change Working Time dialog box.

Return Value

Boolean

Remarks

The BaseCalendars method has the same effect as the Change Working Time command on the Tools menu.