re,
il ne faut pas sortir de la macro pour ce randbetween
Function melangemots(phrase)
t = Split(phrase, ",")
For i = UBound(t) To 0 Step -1
alea = WorksheetFunction.RandBetween(0, i)
melangemots = melangemots & "," & t(alea)
t(alea) = t(i)
Next i
melangemots = Mid(melangemots, 2)
End Function