我想知道如何点击带有checkbox1的commandbutton1来清除文本框,因为它似乎不可能像这样做
when clicking the commandbutton and the checkbox is checked, i want to clean those textboxes
答案 0 :(得分:0)
试试这个:
Private Sub CommandButton1_Click()
If CheckBox1 Then
TextBox1.Value = ""
End If
End Sub