表示资源或项目的日历。 Calendar 对象是 Calendars 集合的成员。 使用日历对象 使用 BaseCalendars (索引) (其中 index 是日历索引号或日历名称)返回单个 Calendar 对象。
使用日历集合 使用 BaseCalendars 属性可返回 Calendars 集合。 以下示例将活动项目中每一基准日历的属性重置为默认值。 使用 BaseCalendarCreate 方法可以将一个 Calendar 对象添加到 Calendars 集合中。 以下示例将创建一个基准日历。
方法
名称 |
---|
Delete |
句号 |
Reset |
属性
名称 |
---|
Application |
BaseCalendar |
企业 |
异常 |
Guid |
索引 |
名称 |
Parent |
ResourceGuid |
WeekDays |
WorkWeeks |
Years |
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。