Décidément je m'en sortirais pas de ce problème
La correction que tu as faite fonctionne bien pendant 2 a 3 Click puis il bug
Peu être que j'ai fait une connerie en recopiant
Merci
Ps : désole de te faire perdre ton temps avec mes futilité
'-------------------------
Public Function Hasard(Min As Integer, Max As Integer) As Integer
Hasard = Int((Max * Rnd) + Min)
End Function
'-------------------------------------
Function Les_Nom()
Dim Valeur As String, iRes As Integer
Randomize
Do
iRes = Hasard(1, 32)
Valeur = Range("C55").Offset(iRes, 0)
Loop Until LenB(Valeur) > 0
Range("C55").Offset(iRes, 0) = vbNullString
nom = Valeur
End Function
'------------------------------
Private Sub CmdApply_1_Click()
On Error GoTo Err_1
Call Les_Nom
Txtb8_1.Value = nom
Call Les_Nom
Txtb8_2.Value = nom
Call Les_Nom
Txtb8_3.Value = nom
Exit Sub
Err_1:
MsgBox ("salut")
End Sub