Hi Norie
I tried what you suggested but I get the error:
then it highlights this part of the code in yellow:![]()
RunTime Error 1004 Unable to get the CountA property of the WorksheetFunction Class
Any ideas?![]()
emptyRow = WorksheetFunction.CountA(xlw.Sheets("Data").Range("A:A")) + 1
Many thanks
Bookmarks