KODE
KODE
KODE
Dim Ws As Worksheet
Set Ws = Worksheet("DATABASE")
txtMAX.Value = Range("A1").Value
txtNO.SetFocus
End Sub
'menyimpan data
Dim Ws As Worksheet
Set Ws = Worksheet("DATABASE")
iRow = Ws.Cells(Rows.Count, 1) _
.End(x1Up).Offset(1, 0).Row
Me.txtNO.SetFocus
Exit Sub
End If
Dta = Me.txtNO.Value
With Worksheet("DATABASE").Range("A5:A200")
If C Is Nothing Then
Else
Me.txtNO.Value = ""
Me.txtNO.SetFocus
Exit Sub
End If
End With