Bonjour et merci de votre attention,
je souhaite créer, par vba, la liste issue d'une combinaison de n caractères (max 8).
Exemple pour les 5 caractères (12345). Merci beaucoup à vous.
12345 =>correspondant au nombre combin(5;1) : 1 items
1234 =>correspondant au nombre combin(5;2) : 5 items
2345
3451
4512
5123
123 =>correspondant au nombre combin(5;3) : 10 items
124
125
134
135
145
234
235
245
345
12 =>correspondant au nombre combin(5;2) : 10 items
13
14
15
23
24
25
34
35
45
1 =>correspondant au nombre combin(5;2) : 5 items
2
3
4
5
Merci encore
je souhaite créer, par vba, la liste issue d'une combinaison de n caractères (max 8).
Exemple pour les 5 caractères (12345). Merci beaucoup à vous.
12345 =>correspondant au nombre combin(5;1) : 1 items
1234 =>correspondant au nombre combin(5;2) : 5 items
2345
3451
4512
5123
123 =>correspondant au nombre combin(5;3) : 10 items
124
125
134
135
145
234
235
245
345
12 =>correspondant au nombre combin(5;2) : 10 items
13
14
15
23
24
25
34
35
45
1 =>correspondant au nombre combin(5;2) : 5 items
2
3
4
5
Merci encore