G
Guest
hi i am using this if statement at the min:
stDateType = Appointmentdate
If Weekday(Appointmentdate, vbMonday) = vbMonday Then
MsgBox "you can only take 5 patients"
this works fine what i was hoping to do was replace the number of patients
with a value entered by the user
eg. "you can only take" , monday, "patients
is this possible hoe do i set up the monday variable ?
any help would be gret thanks
yours
david
stDateType = Appointmentdate
If Weekday(Appointmentdate, vbMonday) = vbMonday Then
MsgBox "you can only take 5 patients"
this works fine what i was hoping to do was replace the number of patients
with a value entered by the user
eg. "you can only take" , monday, "patients
is this possible hoe do i set up the monday variable ?
any help would be gret thanks
yours
david