try replacing this line of code to transpose the data
from :
to:![]()
wrk.Range("a" & lrow).PasteSpecial xlPasteAll
![]()
wrk.Range("a" & lrow).PasteSpecial Paste:=xlPasteAll, Transpose:=True
to copy the range that you have mentioned
change this line of code from :to:![]()
ActiveSheet.UsedRange.Copy
![]()
ActiveSheet.range("b5:iv53").Copy
Bookmarks