Hi Stephen,
There was a similar question recently (a few weeks ago) posted on this community. I recall Eric Wilson coming with a solution. Do some searching and you'll find it.
------------------------------
Happy coding!
---------------
Paul
Sweden
------------------------------
Happy coding!
Paul, Sweden
(By all means, do not mark this as the best answer!)