Copy multiple rows from multiple workbooks to one master workbook

こ雲淡風輕ζ 提交于 2019-12-12 04:59:43

问题


I'm new to VBA and are trying to copy multiple rows from multiple workbooks to one master workbook. All workbooks have the same header and same number of colums but some have more rows. I would like a total of 6 workbooks (one worksheet per book) to be combined in the master workbook in one single worksheet, below eachother.

Header: Row 1, Column A through M I would like to fill workbook "Daily trend 2013_MASTER_AR.xlsx" D4 through L4 all the way to D51 trough L51 to the master workbook "Daily trend 2013_MASTER.xlsx in cells E2:M2 and all the way down. Further on I'd like to do the same with the remaning 5 workbooks and the data in D4:L4 all the way down to row 81.

How do I do that?


回答1:


You can use RDBMerge.

RDBMerge is a user friendly way to Merge Data from Multiple Excel Workbooks, csv and xml files into a Summary Workbook.

http://www.rondebruin.nl/merge.htm



来源:https://stackoverflow.com/questions/15243576/copy-multiple-rows-from-multiple-workbooks-to-one-master-workbook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!