How to default option button selection. Both are greyed out.

  • Thread starter Thread starter Tim Cali
  • Start date Start date
T

Tim Cali

I have 2 option buttons in a frame that each calls a macro when clicked:

Private Sub fraCurrSurvey_AfterUpdate()
Select Case Me.fraCurrSurvey
Case 1
Call SortRspndAsc
Case 2
Call SortRspndOrderEntry
End Select
End Sub

Problem is, when I initialize the form, both are "greyed" out.

How do I default the first one to being on when the form is initialized?
(Logically, I would like to call SortRspndAsc too.)

Thanks.
 
Hi,
You can set the default value to the right option simply
by setting the option group's Default Value to 1.
But I think what you really want to do is
Call SortRspndAsc
from the Form_Current() event.
HTH,
Ayelet
 
Thanks.

Ayelet said:
Hi,
You can set the default value to the right option simply
by setting the option group's Default Value to 1.
But I think what you really want to do is
Call SortRspndAsc
from the Form_Current() event.
HTH,
Ayelet
 
Back
Top