将约会添加到组共享日历

时间:2019-01-01 14:35:29

标签: vba outlook calendar

如何将约会导入共享的组日历?

我找到了此VBA代码,该代码为我的默认日历添加了约会。

Sub appointment_new()
  With CreateObject("Outlook.Application").CreateItem(1)
    .Subject = "Annual Meeting"
    .Start = DateValue("01-01-2019") + TimeValue("12:30")
    .Duration = 45
    .Location = "Vergaderzaal C"
    .Save
  End With
End Sub

如何将该约会导入到名为“ test”的共享组日历中。

image of my calendar "test"

我的共享组日历的属性

screenshot of the properties of "test"-calendar

0 个答案:

没有答案
相关问题