merlyn has Permutations and combinations that does exactly that.
In reply to Re: Easy way to find permutations? by Chady in thread Easy way to find permutations? by Kratimoyporroon