J
Jack Sons
Hi all,
I would like to generate all possible combinations (not permutations, so one
combination of 6 out of the set abcdefg will also be aaaaab etc) of p out
of n characters, n say from 3 to 8 and p from 3 to n. The character set
could contain (in principle) any character that can be obtained by alt plus
0 plus 3 numbers of the numerical keyboard (alt 0233 = é etc.).
The elements of each combination not to be separated by anything, so not (in
this example 6 out of 6) a,b,b,c,a,f but abbcaf. Also not to be enclosed
in parenthesis, single or double quotation marks etc. Just plain abbcaf etc.
I would like the combinations in a new workbook (started by the program),
sheet1 column A from row 1 as far down as it goes. And at starting the
program a message box that asks for the n characters of the basic set an for
the number p.
TIA for your help.
Jack Sons
The Netherlands
I would like to generate all possible combinations (not permutations, so one
combination of 6 out of the set abcdefg will also be aaaaab etc) of p out
of n characters, n say from 3 to 8 and p from 3 to n. The character set
could contain (in principle) any character that can be obtained by alt plus
0 plus 3 numbers of the numerical keyboard (alt 0233 = é etc.).
The elements of each combination not to be separated by anything, so not (in
this example 6 out of 6) a,b,b,c,a,f but abbcaf. Also not to be enclosed
in parenthesis, single or double quotation marks etc. Just plain abbcaf etc.
I would like the combinations in a new workbook (started by the program),
sheet1 column A from row 1 as far down as it goes. And at starting the
program a message box that asks for the n characters of the basic set an for
the number p.
TIA for your help.
Jack Sons
The Netherlands