>Bravo, Jim! Oops! I spoke too soon. Your idea has a fatal flaw: while it returns the correct number of lines, they won't be in random order. Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631)