Sub test()
jumlah = InputBox("Masukkan nilai yang anda peroleh ?", "Perolehan Nilai")
If jumlah = "" Or Val(jumlah) < 1 Then
MsgBox "Tolong masukkan nilai selain nol"
Else
MsgBox "Anda termasuk kategori LULUS"
End If
End Sub
-------------------------------------
Sub test()
pass = InputBox("Masukkan password anda ?", "Password")
If pass = "" Then
MsgBox "Tolong masukkan Password"
ElseIf pass = "aku" Then
MsgBox "SUKSES LOGIN"
Else
MsgBox "MAAF!! Anda tidak berhak masuk"
End If
End Sub
Selasa, 26 Oktober 2021
Input Box
Langganan:
Posting Komentar (Atom)
Menghitung USIA Excel
=BYROW(D2:D100; LAMBDA(tanggal_lahir; IF(tanggal_lahir=""; ""; DATEDIF(tanggal_lahir; TODAY(); "y"...
-
klik di sni
-
Option Explicit Sub cetaktabungansetoran() Dim rujukan As Range Dim b As Long Set rujukan = Sheets("CETAKTABUNGAN").Range(...
-
Option Explicit Private Sub CDMDDELETE_Click() Application.ScreenUpdating = False Me.TABELDATA.value = "" If Me.TXTNISN.valu...
Tidak ada komentar:
Posting Komentar