I get confused between permutations and combinations, but anyhow I have ten columns, some of which may be blank while the rest contain one or two-digit numbers. Let's assume that the first row contains 4 numbers and that I can create this string "1,5,7,12" from those numbers. From that string, using VBA, I'd like to return these strings:
0105
0107
0112
0507
0512
0712

If my string were "1,5,7,12,33" I'd like to return
0105
0107
0112
0133
0507
0512
0533
0712
0733
1233

How would I do that?