Many thanks in advance for any help. The letters "abcd" can be arranged in 4P4 = 24 ways. They can be spelt out on paper without difficulty (abcd, abdc, ... etc.) For larger words the number of permutations soon runs into billions... which brings me to my question: does anyone have any vba code to spell out each permutation on large words (12 letters and upwards)?
I have Matlab code to do this, but not vba code. Listing all permutations is practical only for up to about 8 letters. An algorithm to find the next permutation (in lexicographical sequence), given the current one, can be found in: Tucker, A. 1995. Applied Combinatorics, pp. 225-226. Wiley.
============================================================= Dr. Richard E. Strauss (806) 742-2719 Biological Sciences (806) 742-2963 Fax Texas Tech University [EMAIL PROTECTED] Lubbock, TX 79409-3131 <http://www.biol.ttu.edu/Strauss/Strauss.html> =============================================================
. . ================================================================= Instructions for joining and leaving this list, remarks about the problem of INAPPROPRIATE MESSAGES, and archives are available at: . http://jse.stat.ncsu.edu/ . =================================================================
