Private Sub Textbox1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If InStr("A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z", Chr(KeyAscii)) = 0 Then KeyAscii = 0: _
MsgBox "Veuillez saisir le nombre en lettres majuscules", , "AVVERTISSEMENT"
End Sub