Coding Form Bayar SPP
Coding Form Bayar SPP
Coding Form Bayar SPP
With cmbGrade1
.AddItem "Kelas 10"
.AddItem "Kelas 11"
.AddItem "Kelas 12"
End With
End If
Exit Sub
EXCELVBA:
Call MsgBox("Maaf data NISN belum terdaftar atau NISN salah", vbInformation, "Cari Data")
Me.CJULI.Value = False
Me.CAGUSTUS.Value = False
Me.CSEPTEMBER.Value = False
Me.COKTOBER.Value = False
Me.CNOVEMBER.Value = False
Me.CDESEMBER.Value = False
Me.CJANUARI.Value = False
Me.CFEBRUARI.Value = False
Me.CMARET.Value = False
Me.CAPRIL.Value = False
Me.CMEI.Value = False
Me.CJUNI.Value = False
Exit Sub
EXCELVBA:
Call MsgBox("Maaf, data yang dicari tidak ditemukan", vbInformation, "Cari Data")
End Sub
Exit Sub
ERWIN:
Call MsgBox("Nama Siswa belum terdaftar", vbInformation, "Data Siswa")
End Sub
7. CODING CHECK BOX (JULI – JUNI)
End Sub
End If
End If
End If
End If
End If
End If
End If
End If
Call MsgBox("Pembayaran berhasil", vbInformation, "Data Siswa")
Me.CJULI.Value = False
Me.CAGUSTUS.Value = False
Me.CSEPTEMBER.Value = False
Me.COKTOBER.Value = False
Me.CNOVEMBER.Value = False
Me.CDESEMBER.Value = False
Me.CJANUARI.Value = False
Me.CFEBRUARI.Value = False
Me.CMARET.Value = False
Me.CAPRIL.Value = False
Me.CMEI.Value = False
Me.CJUNI.Value = False
Exit Sub
Case vbYes
End Select
Sheet4.Range("D7").Value = "PMB-100" & Sheet3.Range("H8").Value
Sheet4.Range("L7").Value = "KWI-100" & Sheet3.Range("H8").Value
Sheet4.Range("D9").Value = Me.txtName.Value
Sheet4.Range("D10").Value = Me.txtGrade.Value
Sheet4.Range("D11").Value = Me.txtID.Value
Sheet4.Range("D12").Value = Me.txtTotal.Value
Sheet4.Range("K9").Value = Me.txtTotalPay.Value
Sheet4.Range("K10").Value = Me.txtCredit.Value
Sheet4.PrintOut
Call MsgBox("Kwitansi telah dicetak", vbInformation, "Cetak Data")
Sheet4.Range("D7").Value = ""
Sheet4.Range("L7").Value = ""
Sheet4.Range("D9").Value = ""
Sheet4.Range("D10").Value = ""
Sheet4.Range("D11").Value = ""
Sheet4.Range("D12").Value = ""
Sheet4.Range("K9").Value = ""
Sheet4.Range("K10").Value = ""
Me.CJULI.Enabled = True
Me.CAGUSTUS.Enabled = True
Me.CSEPTEMBER.Enabled = True
Me.COKTOBER.Enabled = True
Me.CNOVEMBER.Enabled = True
Me.CDESEMBER.Enabled = True
Me.CDESEMBER.Value = False
Me.CJANUARI.Enabled = True
Me.CFEBRUARI.Enabled = True
Me.CMARET.Enabled = True
Me.CAPRIL.Enabled = True
Me.CMEI.Enabled = True
Me.CJUNI.Enabled = True
Me.CJULI.Value = False
Me.CAGUSTUS.Value = False
Me.CSEPTEMBER.Value = False
Me.COKTOBER.Value = False
Me.CNOVEMBER.Value = False
Me.CDESEMBER.Value = False
Me.CJANUARI.Value = False
Me.CFEBRUARI.Value = False
Me.CMARET.Value = False
Me.CAPRIL.Value = False
Me.CMEI.Value = False
Me.CJUNI.Value = False
Me.txtID.Value = ""
Me.txtName.Value = ""
Me.txtGrade.Value = ""
Me.txtTotal.Value = ""
Me.txtTotalPay.Value = ""
Me.txtCredit.Value = ""
Me.txtDate.Value = ""
End If
Me.CAGUSTUS.Value = False
HAPUSBAYAR.Offset(0, 4).Value = ""
Me.CSEPTEMBER.Value = False
HAPUSBAYAR.Offset(0, 5).Value = ""
Me.COKTOBER.Value = False
HAPUSBAYAR.Offset(0, 6).Value = ""
Me.CNOVEMBER.Value = False
HAPUSBAYAR.Offset(0, 7).Value = ""
Me.CDESEMBER.Value = False
HAPUSBAYAR.Offset(0, 8).Value = ""
Me.CJANUARI.Value = False
HAPUSBAYAR.Offset(0, 9).Value = ""
Me.CFEBRUARI.Value = False
HAPUSBAYAR.Offset(0, 10).Value = ""
Me.CMARET.Value = False
HAPUSBAYAR.Offset(0, 11).Value = ""
Me.CAPRIL.Value = False
HAPUSBAYAR.Offset(0, 12).Value = ""
Me.CMEI.Value = False
HAPUSBAYAR.Offset(0, 13).Value = ""
Me.CJUNI.Value = False
HAPUSBAYAR.Offset(0, 14).Value = ""
Me.CJULI.Value = False
Me.CAGUSTUS.Value = False
Me.CSEPTEMBER.Value = False
Me.COKTOBER.Value = False
Me.CNOVEMBER.Value = False
Me.CDESEMBER.Value = False
Me.CJANUARI.Value = False
Me.CFEBRUARI.Value = False
Me.CMARET.Value = False
Me.CAPRIL.Value = False
Me.CMEI.Value = False
Me.CJUNI.Value = False
Me.txtID.Value = ""
Me.txtName.Value = ""
Me.txtGrade.Value = ""
Me.txtTotal.Value = ""
Me.txtTotalPay.Value = ""
Me.txtCredit.Value = ""