Arnd, I think your script works very well. Mine is similar, but does do a few things differently, which someone might find useful. Maybe I'll post it here this weekend as another example. Geoff