The problem is:
![]()
iRow = ws.Cells(Rows.Count, 1) .End(xlUp).Offset(1, 0).Row _
Should be:
![]()
iRow = ws.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Row
Or
![]()
iRow = ws.Cells(Rows.Count, 1) _ .End(xlUp).Offset(1, 0).Row
Regards
The problem is:
![]()
iRow = ws.Cells(Rows.Count, 1) .End(xlUp).Offset(1, 0).Row _
Should be:
![]()
iRow = ws.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Row
Or
![]()
iRow = ws.Cells(Rows.Count, 1) _ .End(xlUp).Offset(1, 0).Row
Regards
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks