在主工作表中搜索工作表名称,然后将数据复制回工作表名称 [英] Searching for worksheet name in master worksheet then copying data back into worksheet name

查看:84
本文介绍了在主工作表中搜索工作表名称,然后将数据复制回工作表名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一本包含100多个工作表的工作簿。我有一个"数据"工作表,其中包含100多个工作表的数据。我想要一个宏来查找"数据"工作表中的工作表名称,并将下面的数据复制到工作表名称中。

I have a workbook with 100+ worksheets. I have a 'Data' worksheet that includes data for the 100+ worksheets. I would like a macro to find the worksheet name in the 'Data' worksheet and copy the data below into the worksheet name.

例如, 第一个工作表名为"火车"。  我浏览"数据"工作表,在A列下查看"火车",然后复制下面的数据"火车",并粘贴到"火车"工作表中。
'数据'工作表中的数据用空行分隔。

For example, The first worksheet is named "Trains".  I go through the 'Data' worksheet, look under column A for "Trains", then copy the data below "Trains", and paste into the 'Trains' worksheet. The data in the 'Data' worksheet is separated by a blank row.

推荐答案

我假设您的数据如下图所示,数据应添加到每张表的A栏底部。

I have assumed that your data is like the diagram below and that the data should be added at the bottom of column A of each sheet.





这篇关于在主工作表中搜索工作表名称,然后将数据复制回工作表名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆