cheers Bryce, still getting a few errors - didn't like the "End Function" lines (took the space out and it seems to be happy)
Not quite running still but at least the script is not crashing out on me now like it was \:\)