' number of permutations of N objects in groups of M'' Note: requires the FACTORIAL routineFunction Permutations(ByVal Objects As Long, ByVal GroupSize As Long) As Double Permutations = Factorial(Objects) / Factorial(Objects - GroupSize)End Function