Format dans une textbox
Bourrique66
Messages postés
166
Statut
Membre
-
Bourrique66 Messages postés 166 Statut Membre -
Bourrique66 Messages postés 166 Statut Membre -
Bonjour ;
J’aimerais mettre ce format « TextBox1.Value = Format(TextBox1.Value, "0.00Km") dans mes textbox, mais comme pour remplir ces textbox j’utilise CDbl pour faire des calculs le code ne fonctionne pas. Comment faire pour pouvoir utiliser ce format dans les textbox. Merci de vous pencher sur mon problème.
Je joins un fichier: https://www.cjoint.com/c/MBdkCJXhoCK
Private Sub TextBox1_afterupdate()
Application.ScreenUpdating = False
TextBox3.Value = CDbl(TextBox1.Value) + CDbl(TextBox2.Value)
TextBox4.Value = CDbl(TextBox1.Value) + CDbl(TextBox4.Value)
TextBox5.Value = CDbl(TextBox1.Value) + CDbl(TextBox5.Value)
Application.ScreenUpdating = True
End Sub
A voir également:
- Format dans une textbox
- Format epub - Guide
- Format factory - Télécharger - Conversion & Codecs
- Hp usb disk storage format tool - Télécharger - Stockage
- Format apfs - Guide
- Format bin - Guide