کد:
لطفا کد فوق را ویرایش فرمایید
کد PHP:
Private Sub CommandButton1_Click()
If TextBox1.Text = Sheet5.Cells(2, 2) And TextBox2.Text = Sheet5.Cells(2, 3) Or TextBox1.Text <> Empty And TextBox2.Text = "123" Then
Unload Me
Main_Form.Show
End If
TextBox1.Text = Empty
TextBox2.Text = Empty
End Sub
کامنت