You are on page 1of 1

Private Sub SpinButton1_Change()

CONSECUTAG.Value = SpinButton1
SpinButton1.Max = "999"
SpinButton1.Min = "0"
SpinButton1.Delay = 50

If CONSECUTAG <> "" And COSECUTAG < 10 Then


ResumenTAG.Caption = INICIOTAG.Caption + "-" + "00" + CONSECUTAG
Else
If CONSECUTAG >= 10 Then
ResumenTAG.Caption = INICIOTAG + "-" + "0" + CONSECUTAG
Else
If CONSECUTAG >= 100 Then
ResumenTAG.Caption = INICIOTAG + "-" + CONSECUTAG
Else
End If
End If
End If
End Sub

You might also like