En fait ce n'est pas possible avec une feuille excel car tu auras 48 828 125 combinaisons !
Un programme pour 5 colonnes, non optimisé (3125 combinaisons) :
Sub combiner()
i = 1
For i1 = 0 To 4
For i2 = 0 To 4
For i3 = 0 To 4
For i4 = 0 To 4
For i5 = 0 To 4
Cells(i, 1) = i1
Cells(i, 2) = i2
Cells(i, 3) = i3
Cells(i, 4) = i4
Cells(i, 5) = i5
i = i + 1
Next
Next
Next
Next
Next
End Sub