http://www.vb-helper.com/HowTo/mchosen.zip

	Purpose
Find all ways to pick N out of M items

	Method
Use a recursive subroutine that first checks combinations containing the
first allowed value, and then considers combinations that do not contain
the first allowed value.

This is a modified tree search. It looks in all possible combinations of
items to find those that have exactly N items selected.

For more information on tree searching and other algorithms, look at the
book "Ready-to-Run Visual Basic Algorithms, Second Edition." You can get
more information on the book including a table of contents at:

    http://www.vb-helper.com/vba.htm

	Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does no error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
