I think this might be able to be done using COM objects, based upon what I've read in the help file,but as I've never used them before, I'm not going to try to write a code for you using them. I'm simply not that secure in my own knowledge to try giving someone a code using something I've never touched on before.