bluedragon2
IS-IT--Management
This is not urgent by any means, but I would like to play with some VBA code (that you all know that I am way behind the curve on in excel) that will help me put together a little project I am tinkering with.
So, here is the criteria:
I want to put a number in A1 (ie 123 or 1234 or 12345 and so on)
What I want is for all of the unique combonations of that number of digits. For example, if I enter 123, I want:
123
132
213
231
312
321
Now, I would like for the results to be evenly distributed over 10 columns. Lets say that the input number was 1234567, there would be 7! or 5040 results. I would like the results to be 10 columns of 504 rows.
Blue
So, here is the criteria:
I want to put a number in A1 (ie 123 or 1234 or 12345 and so on)
What I want is for all of the unique combonations of that number of digits. For example, if I enter 123, I want:
123
132
213
231
312
321
Now, I would like for the results to be evenly distributed over 10 columns. Lets say that the input number was 1234567, there would be 7! or 5040 results. I would like the results to be 10 columns of 504 rows.
Blue