Hello;
I am trying to create a macro to do below, but got stuck at the beginning, can anyone point me at the right direction please?
I have a string like this: 111111111
What I am trying to do is to get the excel to write down all the combinations of that string on different columns.
The reason I need to use a seperator like "_" is because _111 and 111_ would mean different things in my case.
i.e COLUMN1: Combination with 8 would be below; COMBIN(9;8) = 9 new strings
_11111111
1_1111111
11_111111 and so on...
COLUMN2: Combination with 7 would be below; COMBIN(9;7) = 36 new strings
__1111111
1__111111
1__111111
1_1_11111 etc...
I cannot figure out how that loop should work
Bookmarks