S.H.A.D.O.
Well-known Member
- Joined
- Sep 6, 2005
- Messages
- 1,915
Good evening,
For what I am trying to do it appears that I need a Sub that "Shuffles" an array.
I have been surfing the web but unfortunately I can't find one that accommodates exactly what I am after. I basically want to be able to designate the size of the array (e.g. 34 numbers or 40 numbers or 45 numbers etc) and then choose whether I want them listed as 4 number combinations, 5 number combinations or 6 number combinations for example starting in cell "B2".
For example: If I was to use 34 numbers and produce 5 number combinations ...
combination 1 would be in cells B2:F2 ( 5 Numbers )
combination 2 would be in cells B3:F3 ( 5 Numbers )
...
combination 6 would be in cells B7:F7 ( 5 Numbers )
combination 7 would be in cells B8:E8 ( 4 Numbers )
If anyone has any ideas I would be grateful.
For what I am trying to do it appears that I need a Sub that "Shuffles" an array.
I have been surfing the web but unfortunately I can't find one that accommodates exactly what I am after. I basically want to be able to designate the size of the array (e.g. 34 numbers or 40 numbers or 45 numbers etc) and then choose whether I want them listed as 4 number combinations, 5 number combinations or 6 number combinations for example starting in cell "B2".
For example: If I was to use 34 numbers and produce 5 number combinations ...
combination 1 would be in cells B2:F2 ( 5 Numbers )
combination 2 would be in cells B3:F3 ( 5 Numbers )
...
combination 6 would be in cells B7:F7 ( 5 Numbers )
combination 7 would be in cells B8:E8 ( 4 Numbers )
If anyone has any ideas I would be grateful.
Last edited: