Many thanks DrByte. I had actually seen this bit of code somewhere in all the searching I had done but ultimately didn't know how to implement such a simple thing.