Is there A way I can place text on a certain day, and if so, is there a way i can set every sunday to contain the same text? Like the same thing happens every sunday, and have the day say that? I appreciate any help.
Printable View
Is there A way I can place text on a certain day, and if so, is there a way i can set every sunday to contain the same text? Like the same thing happens every sunday, and have the day say that? I appreciate any help.
Thanks a lot!
Yes there is a way
[This message has been edited by casparas (edited 01-09-2000).]
you'll need
1 textbox
1 calendar
Code:
Private Sub Calendar1_Click()
dayoftheweek = Weekday(Calendar1.Value, firstdayofweek = vbSunday)
If dayoftheweek = 7 Then
Text1 = "you have chosen the sunday"
End If
End Sub