Can someone help me default my numerous radiobuttons per the current date?
Basically what I am looking for is the program to look at the system date, determine whether it is Monday, Tuesday...etc., then have the radio button checked as the default date (IE, if its Tuesday, the Tuesday radio button is checked....etc)
Code so far:
Select Case Format(Now, "dddd")
Case "Monday"
btnMonday.Checked = True
Case "Tuesday"
btnTuesday.Checked = True
Case "Wednesday"
btnWednesday.Checked = True
Case "Thursday"
btnThursday.Checked = True
Case "Friday"
btnFriday.Checked = True
Case "Saturday"
btnSaturday.Checked = True
End Select
All help is appreciated.
Basically what I am looking for is the program to look at the system date, determine whether it is Monday, Tuesday...etc., then have the radio button checked as the default date (IE, if its Tuesday, the Tuesday radio button is checked....etc)
Code so far:
Select Case Format(Now, "dddd")
Case "Monday"
btnMonday.Checked = True
Case "Tuesday"
btnTuesday.Checked = True
Case "Wednesday"
btnWednesday.Checked = True
Case "Thursday"
btnThursday.Checked = True
Case "Friday"
btnFriday.Checked = True
Case "Saturday"
btnSaturday.Checked = True
End Select
All help is appreciated.