This solution is exactly what I need. This recursive function is elegant and simple [there's a difference between simple and easy]. Thanks xwb for the answer.
I'm trying to find all non repeating combinations of a set of letters. I'd like to use recursion but can't figure out how to change my code snippet to achieve this. Any ideas would be appreciated. Thanks.
Dim Output(10)
letset = "ABCDE"
Limit = Len(letset)
Counter = 1
For a=1 To Limit
For...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.