|
-
Jan 8th, 2000, 08:30 AM
#1
Thread Starter
Addicted Member
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.
-
Jan 9th, 2000, 01:14 AM
#2
Thread Starter
Addicted Member
-
Jan 9th, 2000, 12:09 PM
#3
Member
Yes there is a way
[This message has been edited by casparas (edited 01-09-2000).]
-
Jan 9th, 2000, 12:23 PM
#4
Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|