sorry my knowledge of VBA is very limited and most of your code goes straight over my head.

My apologies for doubting you.