Comment saisir 2 chiffres minimum dans un textbox
Résolu/Fermé
coupidon
Messages postés
98
Date d'inscription
mardi 3 janvier 2006
Statut
Membre
Dernière intervention
23 novembre 2016
-
2 sept. 2016 à 11:05
coupidon Messages postés 98 Date d'inscription mardi 3 janvier 2006 Statut Membre Dernière intervention 23 novembre 2016 - 2 sept. 2016 à 18:36
coupidon Messages postés 98 Date d'inscription mardi 3 janvier 2006 Statut Membre Dernière intervention 23 novembre 2016 - 2 sept. 2016 à 18:36
A voir également:
- Comment saisir 2 chiffres minimum dans un textbox
- 2 comptes whatsapp - Guide
- 2 ecran pc - Guide
- Word numéro de page 1/2 - Guide
- Comment fusionner 2 pdf - Guide
- Cadenas code bloqué 4 chiffres ✓ - Forum Virus
1 réponse
cs_Le Pivert
Messages postés
7903
Date d'inscription
jeudi 13 septembre 2007
Statut
Contributeur
Dernière intervention
11 mars 2024
728
2 sept. 2016 à 15:04
2 sept. 2016 à 15:04
Bonjour,
en consultant ce site tu as ta réponse:
https://silkyroad.developpez.com/VBA/ControlesUserForm/#LI-B
https://silkyroad.developpez.com/VBA/ControlesUserForm/#LII-E
en consultant ce site tu as ta réponse:
https://silkyroad.developpez.com/VBA/ControlesUserForm/#LI-B
https://silkyroad.developpez.com/VBA/ControlesUserForm/#LII-E
'http://silkyroad.developpez.com/VBA/ControlesUserForm/#LI-B 'http://silkyroad.developpez.com/VBA/ControlesUserForm/#LII-E Private Sub UserForm_Initialize() Dim Ctrl As Control For Each Ctrl In Controls If TypeName(Ctrl) = "TextBox" Then 'Définit le nombre de caractères maxi dans le textbox Ctrl.MaxLength = 2 'Définit la tabultation automatique Ctrl.AutoTab = True End If Next Ctrl End Sub
2 sept. 2016 à 18:36
c'est exactement cela que je recherchais grand merci