应用程序. 时间刻度方法(Project)Application.Timescale method (Project)

显示 “时间刻度” 对话框,以提示用户设置时间刻度选项。Displays the Timescale dialog box, which prompts the user to set timescale options.

语法Syntax

expressionexpression. Timescale

expression:表示 Application 对象的变量。expression A variable that represents an Application object.

返回值Return value

BooleanBoolean

说明Remarks

当活动视图是甘特图、 资源图表、 资源使用状况或任务分配状况视图的 时间刻度 方法才可用。The Timescale method is only available when the active view is the Gantt Chart, Resource Graph, Resource Usage, or Task Usage view. 时间刻度 方法具有功能区的 视图选项卡上的 时间刻度命令在 时间刻度下拉列表菜单上相同的效果。The Timescale method has the same effect as the Timescale command on the Timescale drop-down menu on the View tab of the Ribbon. 时间刻度命令也是在选项菜单中的时间刻度。The Timescale command is also on the option menu of the timescale.

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.