Calendar オブジェクトのコレクションを格納します。
例
Calendar オブジェクトの使い方
BaseCalendars (index) を使用します。ここで、index はカレンダーのインデックス番号またはカレンダー名で、単一のCalendarオブジェクトを返します。
MsgBox ActiveProject.BaseCalendars(1).Name
Calendars コレクションの使い方
Use the BaseCalendars property to return a Calendars collection. The following example resets the properties of each base calendar in the active project to their default values.
Dim C As Calendar
For Each C In ActiveProject.BaseCalendars
C.Reset
Next C
Use the BaseCalendarCreate method to add a Calendar object to the Calendars collection. The following example creates a new base calendar.
BaseCalendarCreate Name:="Base Holiday Calendar"
プロパティ
| 名前 |
|---|
| アプリケーション |
| Count |
| アイテム |
| Parent |
関連項目
サポートとフィードバック
Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。