TUGAS 11

LAGO

Private Sub Cmdlagi_Click()

Cbokode.SetFocus

Cbokode.Text = “”

Txtjenis.Text = “”

Txths.Text = “”

Txtjj.Text = “”

Txthp.Text = “”

Txtdiskon.Text = “”

Txthb.Text = “”

End Sub

Private Sub Cmdproses_Click()

Txthp.Text = Val(Txtjj.Text) * Val(Txths.Text)

If Val(Txthp.Text) > 30000000 Then

Txtdiskon = Val(Txthp.Text) * 0.15

Txthb = Val(Txthp.Text) – Val(Txtdiskon.Text)

Else

End If

If Val(Txthp.Text) > 25000000 Then

Txtdiskon = Val(Txthp.Text) * 0.1

Txthb = Val(Txthp.Text) – Val(Txtdiskon.Text)

Else

End If

If Val(Txthp.Text) > 20000000 Then

Txtdiskon = Val(Txthp.Text) * 0.05

Txthb = Val(Txthp.Text) – Val(Txtdiskon.Text)

Else

End If

If Val(Txthp.Text) > 15000000 Then

Txtdiskon = Val(Txthp.Text) * 0.02

Txthb = Val(Txthp.Text) – Val(Txtdiskon.Text)

End If

End Sub

Private Sub Form_Load()

Cbokode.AddItem “P205”

Cbokode.AddItem “P308”

Cbokode.AddItem “P310”

Cbokode.AddItem “P415”

Cbokode.AddItem “P417”

Cbokode.AddItem “P419”

End Sub

Private Sub Cbokode_Click()

Dim jenis As String

Dim harga As Variant

Select Case Cbokode.Text

Case “P205”

jenis = “Pentium II 500 Mega Hz”

harga = 1500000

Case “P308”

jenis = “Pentium III 800 Mega Hz”

harga = 2100000

Case “P310”

jenis = “Pentium III 1.0 Giga Hz”

harga = 3500000

Case “P415”

jenis = “Pentium IV 1.5 Giga Hz”

harga = 4000000

Case “P417”

jenis = “Pentium IV 1.7 Giga Hz”

harga = 4200000

Case “P419”

jenis = “Pentium IV 1.9 Giga Hz”

harga = 5500000

End Select

Txtjenis.Text = jenis

Txths.Text = harga

Txtjj.SetFocus

End Sub

Private Sub Cmdkeluar_Click()

End

End Sub

Iklan

TUGAS 11

ZALFAH

Private Sub Txtnama_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Txtnpm.SetFocus

End If

End Sub

Private Sub Cmdproses_Click()

Dim S As String

Txttm.Text = “20” & Left(Txtnpm.Text, 2)

S = Mid(Txtnpm.Text, 3, 1)

If S = “1” Then

Txtjur.Text = “Sistem Informasi”

ElseIf S = “2” Then

Txtjur.Text = “Teknik Informatika”

ElseIf S = “3” Then

Txtjur.Text = “Manajemen Informatika”

ElseIf S = “4” Then

Txtjur.Text = “Manajemen & Komp. Akuntansi”

End If

S = Mid(Txtnpm.Text, 4, 2)

If S = “01” Then

Txtprodi.Text = “Strata Satu”

Txtbp.Text = “1950000”

ElseIf S = “02” Then

Txtprodi.Text = “Diploma Empat”

Txtbp.Text = “1750000”

ElseIf S = “03” Then

Txtprodi.Text = “Diploma Tiga”

Txtbp.Text = “1650000”

ElseIf S = “04” Then

Txtprodi.Text = “Diploma Dua”

Txtbp.Text = “1450000”

End If

Txtnu.Text = Right(Txtnpm.Text, 3)

End Sub

Private Sub Cmdkeluar_Click()

End

End Sub

Private Sub Cmdlagi_Click()

Txtnama.SetFocus

Txtnama.Text = “”

Txtnpm.Text = “”

Txtjur.Text = “”

Txtprodi.Text = “”

Txttm.Text = “”

Txtnu.Text = “”

Txtbp.Text = “”

End Sub

Private Sub Cmdbatal_Click()

Txtnama.SetFocus

Txtnama.Text = “”

Txtnpm.Text = “”

Txtjur.Text = “”

Txtprodi.Text = “”

Txttm.Text = “”

Txtnu.Text = “”

Txtbp.Text = “”

End Sub

TUGAS 6

VBN

Private Sub Cbokode_Click()

Dim merk, HS As String

Select Case Cbokode.Text

Case “Apple MC965 MacBook Air”

merk = “Apple MacBook Air MC965”

HS = “12800000”

Case “Apple MC966 MacBook Air”

merk = “Apple MacBook Air MC966”

HS = “15800000”

Case “Apple MC968 MacBook Air”

merk = “Apple MacBook Air MC968”

HS = “9900000”

Case “Apple MC969 MacBook Air”

merk = “Apple MacBook Air MC969”

HS = “11900000”

Case “Apple MC700 MacBook Pro”

merk = “AppleMacBook Pro MC700”

HS = “10800000”

Case “Apple MC721 MacBook Pro”

merk = “Apple MacBook Pro MC721”

HS = “15900000”

Case “Apple MC723 MacBook Pro”

merk = “Apple MacBook Pro MC723”

HS = “19300000”

Case “Apple MC724 MacBook Pro”

merk = “Apple MacBook Pro MC724”

HS = “13700000”

Case “Apple MC311 MacBook Pro”

merk = “Apple MacBook Pro MC311”

HS = “24200000”

Case “Apple MC313 MacBook Pro”

merk = “Apple MacBook Pro MC313”

HS = “11900000”

Case “Apple MC314 MacBook Pro”

merk = “Apple MacBook Pro MC314”

HS = “14700000”

Case “Apple MC318 MacBook Pro”

merk = “Apple MacBook Pro MC318”

HS = “17600000”

Case “Apple MC322 MacBook Pro”

merk = “Apple MacBook Pro MC322”

HS = “21300000”

Case “Apple MC965 MacBook Air”

merk = “Apple MacBook Air MC965”

HS = “12800000”

Case “Apple MC966 MacBook Air”

merk = “Apple MacBook Air MC966”

HS = “15800000”

End Select

TXTMERK.Text = merk

TXTHS.Text = HS

TXTJJ.SetFocus

End Sub

Private Sub Cmdkeluar_Click()

End

End Sub

Private Sub Cmdlagi_Click()

Cbokode.SetFocus

Cbokode.Text = “”

TXTMERK.Text = “”

TXTHS.Text = “”

TXTJJ.Text = “”

TXTHP.Text = “”

TXTDISKON.Text = “”

TXTTB.Text = “”

End Sub

Private Sub Cmdproses_Click()

TXTHP.Text = Val(TXTHS) * Val(TXTJJ)

If Val(TXTHP) > 140000000 Then

TXTDISKON = TXTHP.Text * 0.15

TXTTB = TXTHP.Text – TXTDISKON.Text

Else

End If

If Val(TXTHP) > 135000000 Then

TXTDISKON = TXTHP.Text * 0.1

TXTTB = TXTHP.Text – TXTDISKON.Text

Else

End If

If Val(TXTHP) > 130000000 Then

TXTDISKON = TXTHP.Text * 0.05

TXTTB = TXTHP.Text – TXTDISKON.Text

Else

End If

If Val(TXTHP) > 125000000 Then

TXTDISKON = TXTHP.Text * 0.02

TXTTB = TXTHP.Text – TXTDISKON.Text

End If

End Sub

Private Sub Form_Load()

Cbokode.AddItem “Apple MC965 MacBook Air”

Cbokode.AddItem “Apple MC966 MacBook Air”

Cbokode.AddItem “Apple MC968 MacBook Air”

Cbokode.AddItem “Apple MC969 MacBook Air”

Cbokode.AddItem “Apple MC700 MacBook Pro”

Cbokode.AddItem “Apple MC721 MacBook Pro”

Cbokode.AddItem “Apple MC723 MacBook Pro”

Cbokode.AddItem “Apple MC724 MacBook Pro”

Cbokode.AddItem “Apple MC311 MacBook Pro”

Cbokode.AddItem “Apple MC313 MacBook Pro”

Cbokode.AddItem “Apple MC314 MacBook Pro”

Cbokode.AddItem “Apple MC318 MacBook Pro”

Cbokode.AddItem “Apple MC322 MacBook Pro”

Cbokode.AddItem “Apple MC965 MacBook Air”

Cbokode.AddItem “Apple MC966 MacBook Air”

End Sub

TUGAS 5

KJKL

Private Sub Cmdproses_Click()

Dim S As String

Txttt.Text = “20” & Right(Txtkode, 2)

S = Mid(Txtkode, 3, 3)

If S = “SIM” Then

Txtjb.Text = “Sistem Informasi Manajemen”

Txtpeng.Text = “Yati Nur Oktavia”

Txtharga.Text = “75900”

ElseIf S = “EDP” Then

Txtjb.Text = “Elektronik Data Processing”

Txtpeng.Text = “Desi Istiqomah”

Txtharga.Text = “62000”

ElseIf S = “MNJ” Then

Txtjb.Text = “Manajemen”

Txtpeng.Text = “Sandy Fitra jaya”

Txtharga.Text = “42000”

ElseIf S = “CDR” Then

Txtjb.Text = “Corel Draw”

Txtpeng.Text = “Tri Indah Sari”

Txtharga.Text = “53000”

ElseIf S = “RPL” Then

Txtjb.Text = “Rekayasa Perangkat Lunak”

Txtpeng.Text = “Ernita Sari”

Txtharga.Text = “83000”

End If

S = Left(Txtkode, 1)

If S = “A” Then

Txtpenerbit.Text = “Andi Offset Yogyakarta”

ElseIf S = “I” Then

Txtpenerbit.Text = “Indah Surabaya”

ElseIf S = “S” Then

Txtpenerbit.Text = “Salemba Empat”

ElseIf S = “E” Then

Txtpenerbit.Text = “Elek Media Komputindo”

ElseIf S = “M” Then

Txtpenerbit.Text = “Maxicom”

End If

End Sub

Private Sub Cmdkeluar_Click()

End

End Sub

Private Sub Cmdlagi_Click()

Txtkode.SetFocus

Txtkode.Text “”

textjb.Text = “”

Txtpeng.Text = “”

texttt.Text = “”

texpenerbit.Text = “”

textharga.Text = “”

End Sub

Private Sub Cmdbatal_Click()

Txtkode.SetFocus

Txtkode.Text = “”

Txtjb.Text = “”

Txtpeng.Text = “”

Txttt.Text = “”

Txtpenerbit.Text = “”

Txtharga.Text = “”

End Sub

TUGAS 8 TIKET PENJUALAN KERETA API

KERETA

Private Sub Txtjumlah_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Txttotal.Text = Val(Txtharga.Text) * Val(Txtjumlah.Text)

End If

End Sub

Private Sub Cmdproses_Click()

Dim S As String

S = Left(Txtkode.Text, 3)

If S = “BIM” Then

Txtjenis.Text = “BIMA”

Txtharga.Text = “50000”

Txtjam.Text = “16.00”

ElseIf S = “EKO” Then

Txtjenis.Text = “EKONOMI”

Txtharga.Text = “35000”

Txtjam.Text = “19.00”

ElseIf S = “MUT” Then

Txtjenis.Text = “MUTIARA”

Txtharga.Text = “23000”

Txtjam.Text = “17.00”

ElseIf S = “SEN” Then

Txtjenis.Text = “SENJA”

Txtharga.Text = “15000”

Txtjam.Text = “20.00”

End If

Txtjumlah.SetFocus

End Sub

Private Sub Cmdlagi_Click()

Txtkode.SetFocus

Txtkode.Text = “”

Txtharga.Text = “”

Txtjenis.Text = “”

Txtjam.Text = “”

Txtjumlah.Text = “”

Txttotal.Text = “”

End Sub

Private Sub Cmdkeluar_Click()

End

End Sub

TUGAS 12

U

Private Sub Form_Load()

Cbokode.AddItem “Asus A43SA”

Cbokode.AddItem “Asus A43SD”

Cbokode.AddItem “Asus A43SJ”

Cbokode.AddItem “Asus A43TA”

Cbokode.AddItem “Asus N43SL”

Cbokode.AddItem “Apple MD311”

Cbokode.AddItem “Apple MD313”

Cbokode.AddItem “Apple MD314”

Cbokode.AddItem “Apple MD322”

Cbokode.AddItem “Apple MC965”

End Sub

Private Sub Cbokode_Click()

Dim merk, HS As String

Select Case Cbokode.Text

Case “Asus A43SA”

merk = “Asus A43SA-VX090D”

HS = “5500000”

Case “Asus A43SD”

merk = “Asus A43SD-VX052D”

HS = “4500000”

Case “Asus A43SJ”

merk = “Asus A43SJ-VX792D”

HS = “4300000”

Case “Asus A43TA”

merk = “Asus A43TA-VX034D”

HS = “4900000”

Case “Asus N43SL”

merk = “Asus N43SL-VX264D”

HS = “4300000”

Case “Apple MD311?”

merk = “Apple MacBook Pro MD311?”

HS = “19300000”

Case “Apple MD313?”

merk = “Apple MacBook Pro MD313?”

HS = “24200000”

Case “Apple MD314?”

merk = “Apple MacBook Pro MD314?”

HS = “11900000”

Case “Apple MD322?”

merk = “Apple MacBook Pro MD322?”

HS = “14700000”

Case “Apple MC965?”

merk = “Apple MacBook Air MC965?”

HS = “21300000”

End Select

TXTMERK.Text = merk

TXTHS.Text = HS

TXTJJ.SetFocus

End Sub

Private Sub Cmdproses_Click()

TXTHP.Text = Val(TXTHS) * Val(TXTJJ)

If Val(TXTHP) > 140000000 Then

TXTDISKON = TXTHP.Text * 0.15

TXTTB = TXTHP.Text – TXTDISKON.Text

Else

End If

If Val(TXTHP) > 135000000 Then

TXTDISKON = TXTHP.Text * 0.1

TXTTB = TXTHP.Text – TXTDISKON.Text

Else

End If

If Val(TXTHP) > 130000000 Then

TXTDISKON = TXTHP.Text * 0.05

TXTTB = TXTHP.Text – TXTDISKON.Text

Else

End If

If Val(TXTHP) > 125000000 Then

TXTDISKON = TXTHP.Text * 0.02

TXTTB = TXTHP.Text – TXTDISKON.Text

End If

End Sub

Private Sub Cmdlagi_Click()

Cbokode.SetFocus

Cbokode.Text = “”

TXTMERK.Text = “”

TXTHS.Text = “”

TXTJJ.Text = “”

TXTHP.Text = “”

TXTDISKON.Text = “”

TXTTB.Text = “”

End Sub

Private Sub Cmdkeluar_Click()

End

End Sub

TUGAS 10

HGFHJK

Private Sub Cmdproses_Click()

Dim S As String

S = Left(Txtnpm, 1)

If S = “E” Then

Txtkelas.Text = “Eksekutif”

Txtub.Text = “1250000”

ElseIf S = “R” Then

Txtkelas.Text = “Reguler”

Txtub.Text = “1000000”

End If

S = Mid(Txtnpm, 6, 2)

If S = “01” Then

Txtprodi.Text = “Strata Satu”

If Txtkelas.Text = “Reguler” Then

Txtbps.Text = “1500000”

Else

Txtbps.Text = “1900000”

End If

ElseIf S = “02” Then

Txtprodi.Text = “Diploma Tiga”

If Txtkelas.Text = “Reguler” Then

Txtbps.Text = “1250000”

Else

Txtbps.Text = “1650000”

End If

ElseIf S = “03” Then

Txtprodi.Text = “Diploma Satu”

If Txtkelas.Text = “Reguler” Then

Txtbps.Text = “1250000”

Else

End If

Txtbps.Text = “1350000”

End If

S = Mid(Txtnpm, 5, 1)

If S = “1” Then

Txtjur.Text = “Sistem Informasi”

ElseIf S = “2” Then

Txtjur.Text = “Manajemen Informatika”

ElseIf S = “3” Then

Txtjur.Text = “Manajemendan Komp. Akuntansi”

End If

Txttm.Text = “20” & Mid(Txtnpm.Text, 3, 2)

Txtnu.Text = Right(Txtnpm, 3)

If Txtprodi.Text = “Strata Satu” Then

Txtup.Text = “200000”

Txtbpa.Text = “600000”

Else

End If

If Txtprodi.Text = “Diploma Tiga” Then

Txtup.Text = “150000”

Txtbpa.Text = “600000”

Else

End If

If Txtprodi.Text = “Diploma Satu” Then

Txtup.Text = “150000”

Txtbpa.Text = “600000”

End If

Txttb.Text = Val(Txtup.Text) + Val(Txtbps.Text) + Val(Txtub.Text) + Val(Txtbpa.Text)

End Sub

Private Sub Txtnama_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Txtnpm.SetFocus

End If

End Sub

Private Sub Cmdlagi_Click()

Txtnama.SetFocus

Txtnama.Text = “”

Txtnpm.Text = “”

Txtkelas.Text = “”

Txtjur.Text = “”

Txtprodi.Text = “”

Txttm.Text = “”

Txtnu.Text = “”

Txtup.Text = “”

Txtbps.Text = “”

Txtub.Text = “”

Txtbpa.Text = “”

Txttb.Text = “”

End Sub

Private Sub Cmdbatal_Click()

Txtnama.SetFocus

Txtnama.Text = “”

Txtnpm.Text = “”

Txtkelas.Text = “”

Txtjur.Text = “”

Txtprodi.Text = “”

Txttm.Text = “”

Txtnu.Text = “”

Txtup.Text = “”

Txtbps.Text = “”

Txtub.Text = “”

Txtbpa.Text = “”

Txttb.Text = “”

End Sub

Private Sub Cmdkeluar_Click()

End

End Sub

TUGAS 4 NPM SAYA ENTER

SS

Private Sub Txtnpm_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Dim S As String

TxtTm.Text = “20” & Left(Txtnpm.Text, 2)

S = Mid(Txtnpm.Text, 3, 1)

If S = “1” Then

Txtjur.Text = “Sistem Informasi”

Txtprodi = “Strata Satu”

ElseIf S = “2” Then

Txtjur.Text = “Teknik Informatika”

Txtprodi = “Diploma Empat”

ElseIf S = “3” Then

Txtjur.Text = “Manajemen Informatika”

Txtprodi = “Diploma Tiga”

ElseIf S = “4” Then

Txtjur.Text = “Komputer Akuntansi”

Txtprodi = “Diploma Dua”

End If

TxtNu.Text = Right(Txtnpm.Text, 5)

End If

End Sub

Private Sub Txtnama_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Txtnpm.SetFocus

End If

End Sub

Private Sub CmdProses_Click()

Dim S As String

TxtTm.Text = “20” & Left(Txtnpm.Text, 2)

S = Mid(Txtnpm.Text, 3, 1)

If S = “1” Then

Txtjur.Text = “Sistem Informasi”

Txtprodi = “Strata Satu”

ElseIf S = “2” Then

Txtjur.Text = “Teknik Informatika”

Txtprodi = “Diploma Empat”

ElseIf S = “3” Then

Txtjur.Text = “Manajemen Informatika”

Txtprodi = “Diploma Tiga”

ElseIf S = “4” Then

Txtjur.Text = “Komputer Akuntansi”

Txtprodi = “Diploma Dua”

End If

TxtNu.Text = Right(Txtnpm.Text, 5)

End Sub

Private Sub Cmdbatal_Click()

Txtnama.SetFocus

Txtnama.Text = “”

Txtnpm.Text = “”

Txtjur.Text = “”

Txtprodi.Text = “”

TxtTm.Text = “”

TxtNu.Text = “”

End Sub

Private Sub Cmdlagi_Click()

Txtnama.SetFocus

Txtnama.Text = “”

Txtnpm.Text = “”

Txtjur.Text = “”

Txtprodi.Text = “”

TxtTm.Text = “”

TxtNu.Text = “”

End Sub

Private Sub Cmdkeluar_Click()

End

End Sub

TUGAS ENTRI PENJUALAN KOMPUTER

efsds

Private Sub Cmdlagi_Click()

Cbokode.SetFocus

Cbokode.Text = “”

Txtjenis.Text = “”

Txths.Text = “”

Txtjj.Text = “”

Txthp.Text = “”

Txtdiskon.Text = “”

Txthb.Text = “”

End Sub

Private Sub Cmdproses_Click()

Txthp.Text = Val(Txtjj.Text) * Val(Txths.Text)

If Val(Txthp.Text) > 30000000 Then

Txtdiskon = Val(Txthp.Text) * 0.15

Txthb = Val(Txthp.Text) – Val(Txtdiskon.Text)

Else

End If

If Val(Txthp.Text) > 25000000 Then

Txtdiskon = Val(Txthp.Text) * 0.1

Txthb = Val(Txthp.Text) – Val(Txtdiskon.Text)

Else

End If

If Val(Txthp.Text) > 20000000 Then

Txtdiskon = Val(Txthp.Text) * 0.05

Txthb = Val(Txthp.Text) – Val(Txtdiskon.Text)

Else

End If

If Val(Txthp.Text) > 15000000 Then

Txtdiskon = Val(Txthp.Text) * 0.02

Txthb = Val(Txthp.Text) – Val(Txtdiskon.Text)

End If

End Sub

Private Sub Form_Load()

Cbokode.AddItem “P205”

Cbokode.AddItem “P308”

Cbokode.AddItem “P310”

Cbokode.AddItem “P415”

Cbokode.AddItem “P417”

Cbokode.AddItem “P419”

End Sub

Private Sub Cbokode_Click()

Dim jenis As String

Dim harga As Variant

Select Case Cbokode.Text

Case “P205”

jenis = “Pentium II 500 Mega Hz”

harga = 1500000

Case “P308”

jenis = “Pentium III 800 Mega Hz”

harga = 2100000

Case “P310”

jenis = “Pentium III 1.0 Giga Hz”

harga = 3500000

Case “P415”

jenis = “Pentium IV 1.5 Giga Hz”

harga = 4000000

Case “P417”

jenis = “Pentium IV 1.7 Giga Hz”

harga = 4200000

Case “P419”

jenis = “Pentium IV 1.9 Giga Hz”

harga = 5500000

End Select

Txtjenis.Text = jenis

Txths.Text = harga

Txtjj.SetFocus

End Sub

Private Sub Cmdkeluar_Click()

End

End Sub

TUGAS 3 NPM SAYA

JKH

Private Sub Txtnpm_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Dim S As String

TxtTm.Text = “20” & Left(Txtnpm.Text, 2)

S = Mid(Txtnpm.Text, 3, 1)

If S = “1” Then

Txtjur.Text = “Sistem Informasi”

Txtprodi = “Strata Satu”

ElseIf S = “2” Then

Txtjur.Text = “Teknik Informatika”

Txtprodi = “Diploma Empat”

ElseIf S = “3” Then

Txtjur.Text = “Manajemen Informatika”

Txtprodi = “Diploma Tiga”

ElseIf S = “4” Then

Txtjur.Text = “Komputer Akuntansi”

Txtprodi = “Diploma Dua”

End If

TxtNu.Text = Right(Txtnpm.Text, 5)

End If

End Sub

Private Sub Cmdlagi_Click()

Txtnama.SetFocus

Txtnama.Text = “”

Txtnpm.Text = “”

Txtjur.Text = “”

Txtprodi.Text = “”

TxtTm.Text = “”

TxtNu.Text = “”

End Sub

Private Sub CmdProses_Click()

Dim S As String

TxtTm.Text = “20” & Left(Txtnpm.Text, 2)

S = Mid(Txtnpm.Text, 3, 1)

If S = “1” Then

Txtjur.Text = “Sistem Informasi”

Txtprodi = “Strata Satu”

ElseIf S = “2” Then

Txtjur.Text = “Teknik Informatika”

Txtprodi = “Diploma Empat”

ElseIf S = “3” Then

Txtjur.Text = “Manajemen Informatika”

Txtprodi = “Diploma Tiga”

ElseIf S = “4” Then

Txtjur.Text = “Komputer Akuntansi”

Txtprodi = “Diploma Dua”

End If

TxtNu.Text = Right(Txtnpm.Text, 5)

End Sub

Private Sub Cmdbatal_Click()

Txtnama.SetFocus

Txtnama.Text = “”

Txtnpm.Text = “”

Txtjur.Text = “”

Txtprodi.Text = “”

TxtTm.Text = “”

TxtNu.Text = “”

End Sub

Private Sub Cmdkeluar_Click()

End

End Sub

Private Sub Txtnama_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Txtnpm.SetFocus

End If

End Sub