FreeBusy

The FreeBusy method indicates whether a user is free or busy.

Applies To

Schedule object

Syntax

objSchedule.FreeBusy (MonthsToRetrieve, MinutesPerChar)

Parameters

MonthsToRetrieve
Specifies the month and year for which to retrieve data. The day is ignored.
MinutesPerChar
Optional. Returns the number of minutes for each character. The default is 30.

Returns

String

Remarks

The FreeBusy method returns the information as a string, where each character indicates whether the user is busy during the time specified in the MinutesPerChar parameter. The character 0 indicates the user is free; 1 indicates the user is busy during the year and month specified in the MonthsToRetrieve parameter. For example:

Dim fb As String
Dim dt As Date
dt = #12/1/95#
fb = objSchedule.FreeBusy(dt)
Debug.Print fb

See Also

Schedule