Thanks, and sorry I didn't get back for the answer sooner. I'll be patient because, on sober reflection, even though mmine works, yours will be better. I made a word count program for XyWrite II, which worked, but then out came yours . . . and, well, I don't use mine anymore.