chaoban888
Thành viên mới
- Tham gia
- 28/1/10
- Bài viết
- 42
- Được thích
- 8
Private Sub cbCancelButton_Click()
If MsgBox("Are you sure you want to Cancel?" & vbNewLine & _
"Ban co chac chan muon dung lai ?", vbYesNo, "Cancel?") = vbYes Then
Call CommandButton2_Click
End If
End Sub
Sub CommandButton2_Click()
End
End Sub
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
If CloseMode = vbFormControlMenu Then
Call cbCancelButton_Click
Cancel = 1
End If
End Sub
Cảm ơn anh nhé !Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
If CloseMode = vbFormControlMenu Then
Call cbCancelButton_Click
Cancel = 1
End If
End Sub