Professional Documents
Culture Documents
Simpan Edit Hapus
Simpan Edit Hapus
Sub BERSIHKAN()
Dim AdaText
For Each AdaText In Me.Controls
If TypeOf AdaText Is msforms.TextBox Then
AdaText.Text = ""
End If
Next AdaText
Me.TextBox1.SetFocus
End Sub
Call BERSIHKAN
TombolTambah.Enabled = True
End If
End Sub
PEsan = TextBox2.Text + " - Akan dihapus dari database, Anda yakin? "
If MsgBox(PEsan, vbQuestion + vbYesNo, _
"Konfirmasi Penghapusan") = vbYes Then
Cekdulu = TextBox1.Value
Set FoundRange = Sheets("sheet1").Cells.Find(What:=Cekdulu, LookIn:=xlFormulas,
LookAt:=xlWhole)