Code :
Private Sub Command1_Click()
Dim s As String
Text5.Text = “20” & Left(Text2.Text, 2)
s = Mid(Text2.Text, 3, 1)
If s = “1” Then
Text3.Text = “Sistem informatika”
ElseIf s = “2” Then
Text3.Text = “Manajemen informatika”
ElseIf s = “3” Then
Text3.Text = “Tehnik informatika”
ElseIf s = “4” Then
Text3.Text = “manajemen informatika”
End If
s = Mid(Text2.Text, 2, 2)
If s = “2” Then
Text4.Text = “strata satu”
ElseIf s = “22” Then
Text4.Text = “diploma tiga”
ElseIf s = “21” Then
Text4.Text = “diploma satu”
ElseIf s = “22” Then
Text4.Text = “diploma satu”
End If
Text6.Text = Right(Text2.Text, 3)
End Sub Lainnya