Double Booking codes
Computer Science and ICT discussion, revision, exam and homework help.
-
Double Booking codes
where do i put the following codes please tell me
If (Combo1.Text = "Morning") And ((Weekday(Text3.Text) = 2) Or (Weekday(Text3.Text) = 4)) Then MsgBox ("Error! This slot is allocated to: Play Group")
If (Combo1.Text = "Morning") And ((Weekday(Text3.Text) = 2) Or (Weekday(Text3.Text) = 4)) Then Text3.Text = ""
If (Combo1.Text = "Evening") And (Weekday(Text3.Text) = 3) Then MsgBox ("Error! This slot is allocated to: Guides & Brownies")
If (Combo1.Text = "Evening") And (Weekday(Text3.Text) = 3) Then Text3.Text = ""
If (Combo1.Text = "Evening") And (Weekday(Text3.Text) = 5) Then MsgBox ("Error! This slot is allocated to: Clubs & Scouts")
If (Combo1.Text = "Evening") And (Weekday(Text3.Text) = 5) Then Text3.Text = ""
where do i put these
thanks in advacne