Thanks,
Works great.

You saved me hours of work, it's great to have forums like this and people like you.