函數代碼為:
Function result_ss() As String
If RadioButton_ss1.Checked = True Then result_ss = "1"
If RadioButton_ss2.Checked = True Then result_ss = "2"
End Function
求大神幫忙
Function result_ss() As String
If RadioButton_ss1.Checked = True Then result_ss = "1"
If RadioButton_ss2.Checked = True Then result_ss = "2"
End Function
改
Function result_ss() As String
result_ss = "";
If RadioButton_ss1.Checked = True Then result_ss = "1"
If RadioButton_ss2.Checked = True Then result_ss = "2"
End Function