Private Sub confirm_Click()
o = IIf(Me.OptionButton1.Value = True, Me.OptionButton1.Caption, Me.OptionButton2.Caption)
For i = 4 To 7
If Me.Controls("CheckBox" & i).Value = True Then t = Me.Controls("CheckBox" & i).Caption: Exit For
Next
With Sheets("客戶資料")
.[a65536].End(3)(2, 1).Resize(, 4) = Array(cust.Text, phone.Text, o, t)
End With
Unload Me
End Sub