In the case of Repeating All-Day Events, one parent document and multiple child documents (one for each repeating instance) are created. All the documents use the “Appointment” form. The children have the “CalendarDateTime” item and therefore appear in the Calendar view. The parent document has no “CalendarDateTime” item and can be seen only in the “All Documents” view.
eval = Evaluate(|@Explode(@TextToTime(@Text(von_dat) + "-" + @Text(bis_dat)))| , doc)
Forall x In eval
x = x + " 04:00:00"
End Forall
eval = Evaluate(|@Explode(@TextToTime(@Text(von_dat) + "-" + @Text(bis_dat)))| , doc)
Forall x In eval
x = x + " 04:00:00"
End Forall
Dim datev() As Variant
For i = 0 To Ubound(eval)
Redim Preserve datev (i + 1)
datev (i) = Cdat (eval(i))
Next
...
...
docMail.CalendarDateTime = datev