Usedrange is unreliable. I suggest you use:
instead of![]()
with Sheets("rawdata") EndOf2 = .cells(.Rows.Count, "A").End(xlup).Row + 1 End With
![]()
EndOf2 = Sheets("rawdata").UsedRange.Rows.Count + 1
Usedrange is unreliable. I suggest you use:
instead of![]()
with Sheets("rawdata") EndOf2 = .cells(.Rows.Count, "A").End(xlup).Row + 1 End With
![]()
EndOf2 = Sheets("rawdata").UsedRange.Rows.Count + 1
Everyone who confuses correlation and causation ends up dead.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks