N
NuBie via AccessMonster.com
i have sereval option buttons grouped in a frame (group box). how do i
disable some of the buttons.
scenario:
today's month is feb. i want to disable mar to dec
Code:
For Each ctl In Me.Controls
If TypeOf ctl Is OptionButton Then
defValue = Format(Now(), "mm")
grpMonths.Value = defValue
Exit For
End If
Next ctl
disable some of the buttons.
scenario:
today's month is feb. i want to disable mar to dec
Code:
For Each ctl In Me.Controls
If TypeOf ctl Is OptionButton Then
defValue = Format(Now(), "mm")
grpMonths.Value = defValue
Exit For
End If
Next ctl