aplikasi perhitungan gaji

aplikasi perhitungan gaji

Private Sub cmdkeluar_Click()
End
End Sub

Private Sub cmdproses_Click()
Dim a, b, c, d, e, f As String
txtgajikotor.Text = Val(Txtgajipokok.Text) + Val(txttunjangan.Text) – Val(txtpotongan.Text)
txtpajak.Text = Val(txtgajikotor.Text) * 0.1
txtgajibersih.Text = Val(txtgajikotor.Text) – Val(txtpajak.Text)
End Sub

Private Sub cmdulang_Click()
Txtgajipokok.SetFocus
Txtgajipokok.Text = “”
txttunjangan.Text = “”
txtpotongan.Text = “”
txtgajikotor.Text = “”
txtpajak.Text = “”
txtgajibersih.Text = “”
End Sub

Private Sub txtgajipokok_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
txttunjangan.SetFocus
End If
End Sub

Private Sub txttunjangan_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
txtpotongan.SetFocus
End If
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