Calendar ActiveX Control

FindTextDay

 

Returns the day that matches the given index of the Day Text Collection.

Public Function FindHighLightDay(
    ByVal iIndex As Integer, _
    ) as String

 

Parameter
iIndex - the index of day text. Start from zero.

Return Value
Return the day. the format is YYYYMMDD. (8 character) e.g. 20041131
Example

   

Visual Basic Syntax
icount = Me.Calendar1.GetTextCount
For i = 0 To icount - 1
   MsgBox Calendar1.FindTextDay(i)
Next