Thanks badapple that's exactly what I was looking for. I knew panels needed to be used but I wasn't sure where to start with the code. Now time to roll up my sleves and start deciphering.

Thanks again for your help.