programı yapmak için önce forma 3 label 1 text ve 2 command ekleyelim

Kod:
Private Sub Command1_Click()
Text1.Text = Val(Text1.Text)
If Text1.Text < 1000000 Then
Label2.Caption = Int(Text1.Text / 10000)
Label3.Caption = "ykr"
End If

If Text1.Text >= 1000000 Then
Label2.Caption = Int(Text1.Text / 1000000)
Label3.Caption = "ytl"
End If

End Sub

Private Sub Command2_Click()
MsgBox”bütün hakları EKOMAT yazılıma aittir.
End Sub