Tr3yAnderson
New Member
- Joined
- Aug 31, 2015
- Messages
- 16
Hi ya'll,
I'm trying to figure out how to iteratively transfer rows of data from hundreds of workbooks to one master workbook. I don't want to do copy and paste as it will be too slow and fill up the clipboard and I don't want to mess with the clipboard. I thought I could use the Range("A2") = Range("A2").Value concept. But apparently that doesn't work with different workbooks? My line of code is below, does this really not work across different workbooks or is there something else I'm forgetting? else is there another way to accomplish this without having to do copy and paste? Thanks
Workbooks("Test Master MS Report.xlsm").Sheets("Time").Range(Cells(r, 1), Cells(r, 18)) = Workbooks("Test MS report.xlsx").Sheets("Time").Range(Cells(r, 1), Cells(r, 18)).Value
I'm trying to figure out how to iteratively transfer rows of data from hundreds of workbooks to one master workbook. I don't want to do copy and paste as it will be too slow and fill up the clipboard and I don't want to mess with the clipboard. I thought I could use the Range("A2") = Range("A2").Value concept. But apparently that doesn't work with different workbooks? My line of code is below, does this really not work across different workbooks or is there something else I'm forgetting? else is there another way to accomplish this without having to do copy and paste? Thanks
Workbooks("Test Master MS Report.xlsm").Sheets("Time").Range(Cells(r, 1), Cells(r, 18)) = Workbooks("Test MS report.xlsx").Sheets("Time").Range(Cells(r, 1), Cells(r, 18)).Value