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"...
-
Option Explicit Private Sub hasilpencariangabung() Dim gabung As Range Set gabung = Sheet8.Range("A4") gabung.CurrentRegion.Cl...
-
=BYROW(D2:D100; LAMBDA(tanggal_lahir; IF(tanggal_lahir=""; ""; DATEDIF(tanggal_lahir; TODAY(); "y"...
-
Option Explicit Sub import() Dim bukafile As Variant bukafile = Application.GetOpenFilename(FileFilter:="Excel Workbooks,*.xl*", ...
Tidak ada komentar:
Posting Komentar