[英]Copy multiple rows from multiple workbooks to one master workbook
I'm new to VBA and are trying to copy multiple rows from multiple workbooks to one master workbook. 我是VBA的新手,正在尝试将多行从多个工作簿复制到一个主工作簿。 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.
我希望在主工作簿中将总共6个工作簿(每本书一个工作表)合并到一个单独的工作表中,彼此之下。
Header: Row 1, Column A through MI 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. 标题:第1行,第A列至MI希望将工作簿“ Daily trend 2013_MASTER_AR.xlsx”填充到D4到L51,从L4到主工作簿“ E2:M2单元格中的“ Daily trend 2013_MASTER.xlsx”进一步,我想对剩余的5个工作簿和D4:L4中的数据进行同样的操作,一直到第81行。
How do I do that? 我怎么做?
You can use RDBMerge. 您可以使用RDBMerge。
RDBMerge is a user friendly way to Merge Data from Multiple Excel Workbooks, csv and xml files into a Summary Workbook. RDBMerge是一种用户友好的方法,用于将多个Excel工作簿,csv和xml文件中的数据合并到摘要工作簿中。
http://www.rondebruin.nl/merge.htm http://www.rondebruin.nl/merge.htm
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.