Thanks for that... Now I am not the best
coder in the world so how would I code it to call the function.

Cheers
Steve