Chris & Jay,

Thanx for all the effort you have put into answering this question.

I will spend some time trying to ensure that I understand the code, rather than simply using it to achieve my own requirements.

The reason I left the question quite broad at the beginning was exactly for this reason. I appreciate assistance which will help me to learn and improve my own skills, rather than asking someone else to provide a full working end product that will meet my needs.

I have quite a bit o coding to do to get my program doing what I want, but at least I now have the start that I needed.

I'll be sure to let you guys know if I come up with any issues that I can't figure out.

Cheerio for now,

Craig