lbltotal.Caption = Format( Val (lbltotal.Caption), "### ### ##0")
Private Sub lbltotal_Change() lbltotal.Caption = Format(Val(lbltotal.Caption), "### ### ##0") Dim St As String Dim Total As Long St = Replace(lbltotal.Caption, " ", "") Total = St Me.Caption = Total End Sub
Private Sub Command4_Click() Label1.Caption = "15500" MsgBox Val(Label1.Caption) End Sub Private Sub Label1_Change() Label1.Caption = Format(Label1, "### ### ##0") End Sub
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question