Hi Maniacb.
This works wonderfully thank you so much.
It has left me with a slight problem in that i had forgotten that i had formatted the A1 column to the date format dd/mm/yyyy from a text date i.e. 2020.04.23 format.
Your code then uses my formatted date to do the work.
To do this i used
Is there a way to use the text date "as is" in your code.
I have tried incorporatiing it but date formatting in excel is a bit of a minefield to me.
Ultimately i will need to leave the A column as is and delete the added columns. I have coded the column deletes in your "with - end with" loop (Columns("H:J").EntireColumn.Delete)
The program the csv file is used in can only have dates of type yyyy.mm.dd as shown.
BTW on checking the format of the column a as received it comes up as General if that helps.
Thanks for your help.
Regards
Neil
Bookmarks