Dim Ly1 As String
\'If e.Form.Controls("RadioButton1").Sender = True Then
\'Ly1 = "到龄退休"
\'msgbox(Ly1)
\'End If
Select Case e.Form.Controls("RadioButton")
Case e.Form.Controls("RadioButton1")
Ly1 = "到龄退休"
msgbox(Ly1)
Case e.Form.Controls("RadioButton2")
Ly1 = "个人辞职"
msgbox(Ly1)
Case e.Form.Controls("RadioButton1")
Ly1 = "公司辞退"
msgbox(Ly1)
End Select