Roy,
I need to check what happens to 'Read Only' files.
There was a line miising from the codeI have put this into your code and all works fine, thank you.![]()
Set wsActive = ActiveWorkbook.ActiveSheet
As a matter of interest do you know what code I need to use to leave the workbook as I found it after deleting and inserting worksheets, what was the activeworkdheet.
Bookmarks