Glad it was useful. Post a new version when you've got one and I'll pitch in again.