Set ev = object.GetEvents DateEvents
Name | Type | Description | Required |
---|---|---|---|
DateEvents | date | Specifies the date for which the events should be returned. | Yes |
This method returns calendar events for the specified date.
The following example shows how to retrieve events for current date.
Dim DayEvents Set DayEvents = Calendar1.GetEvents(Calendar1.CurrentProcessingDate)) If DayEvents Is Nothing Then Calendar1.label1.Value="" Else Calendar1.label1.Value=DayEvents.Count End If