PT.PULANG PETANG SETIAP HARI

Private Sub Command1_Click()
Dim KO As String
Dim TU, GP As Long
Dim TG As Currency
Text4.Text = Mid(Text12, 2, 4)
KO = Left(Text12, 1)
If KO = “A” Then
Text1.Text = “A”
Text5.Text = “MANAGER”
Text7.Text = “2500000”
Text8.Text = “625000”
ElseIf KO = “B” Then
Text1.Text = “B”
Text5.Text = “KA SEKSI”
Text7.Text = “1500000”
Text8.Text = “375000”
ElseIf KO = “C” Then
Text1.Text = “C”
Text5.Text = “STAFF”
Text7.Text = “1000000”
Text8.Text = “250000”
End If
TU = Val(Text8.Text)
GP = Val(Text7.Text)
TG = GP + TU
Text9.Text = TG
KO = Mid(Text12, 6, 3)
If KO = “KEU” Then
Text6.Text = “ACCOUNTING”
ElseIf KO = “ADM” Then
Text6.Text = “ADMINISTRATION”
ElseIf KO = “SDM” Then
Text6.Text = “GENERAL AFFAIR”
ElseIf KO = “EDP” Then
Text6.Text = “IT UNIT”
ElseIf KO = “SPM” Then
Text6.Text = “SECURITY”
End If
KO = Right(Text12, 1)
If KO = “M” Then
Text2.Text = “M”
Text3.Text = “MENIKAH”
ElseIf KO = “S” Then
Text2.Text = “S”
Text3.Text = “SINGLE”
ElseIf KO = “J” Then
Text2.Text = “J”
Text3.Text = “JANDA”
ElseIf KO = “D” Then
Text2.Text = “D”
Text3.Text = “DUDA”
End If
End Sub

Private Sub Command2_Click()
Text10.Text = “”
Text11.Text = “”
Text10.SetFocus
End Sub

Private Sub Command3_Click()
Text1.Text = “”
Text2.Text = “”
Text3.Text = “”
Text4.Text = “”
Text5.Text = “”
Text6.Text = “”
Text7.Text = “”
Text8.Text = “”
Text9.Text = “”
Text10.Text = “”
Text11.Text = “”
Text10.SetFocus
End Sub

Private Sub Command4_Click()
Unload Me
End Sub

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s