i dont know where is the problem :( Sorryy
Private Sub Tmbl_Del_Click()
Dim sampah As TextBox
Dim sampah2 As ComboBox
For Each sampah In Jurnal
If IsEmpty(sampah) Then
If sampah.Name <> TxtTanggal Then
sampah.Value = ""
End If
End If
Next
For Each sampah2 In Jurnal
sampah2.Value = ""
Next
End Sub
i tried to clear all the content in TextBox and ComboBox in my VBA Form except the TextBox named 'TxtTanggal'