Per @ScottHoltzman's suggestion. I am setting certain columns from one book to another book. resize
is proving to be very slow. What's a quicker method? I probably only need 200 rows max from each column.
With ws
.Columns(Start).Resize(, 2).Value = book.Worksheets(wsName & "-F").Columns("A:B").Value
.Columns(Start + label).Resize(, cols).Value = book.Worksheets(wsName & "-F").Columns(Start + label).Resize(, cols).Value
End With
This statement
ws.Columns(1).Resize(, 2)
translates to "2 million+ rows from column 1 and 2"The solution you found works well but it's not dynamic (hard-coded last row)
This is how I'd setup the copy of columns: