I need a code to display all possible 5 out of 12 combinations. If Range("A1") contains the items to be shuffled, say 'abcgefghijkl", it is desired to have the 792 combinations in rows A2-A793. It would be a bonus if the code can handle the general case of n items selected from m items.

TIA