I already have a Array of each resource in the distribution list. How do I check each resource in the array is available via exchange server during the start and end time user is requesting? This will be an outlook addin on the ribbon.
Public Sub AddElementToStringArray(ByVal stringToAdd As String)
ReDim Preserve distArray(distArrayElements)
distArray(distArrayElements) = stringToAdd
distArrayElements += 1
End Sub
Dim startDate As Date
Dim endDate As Date
Sub checkAvailable()
'distArray declared earlier.
If distArray Is Nothing Then
Exit Sub
Else
'Check if they are available.
'if available, add to resourceListBox.
End If
End Sub