Hi Glenn,

Have moved this to my main spreadsheet and it is working perfectly.

Thank you for your fast response.

Matthew.