Thanks for letting me know. I wrote the function but haven't implemented it yet. It should work now. It's not very sophisticated, but it's the best my programming skills allow for now.