如何查找每一行并查找内容名称然后复制行? [英] How to look each row and find content name then copy row?

查看:97
本文介绍了如何查找每一行并查找内容名称然后复制行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
我需要转到特定文件夹的代码,然后打开打开的文件夹中的每个工作簿(工作表(如1st,2nd,3rd到31st),在range(A1:AE100)中查找内容名称(测试),然后将该行复制到主文件.
谢谢,

Dear All,
I need the code that go to specific folder then go for each workbook in folder open (worksheets like 1st,2nd,3rd up to 31st) find content name (Test) in range(A1:AE100) then copy the row to master file.
Thanks and Regards,

推荐答案

您可能要从

使用Select方法.

例子...

Use the Select method.

Example...

CType(Me.Application.ActiveWorkbook.Sheets(1), Excel.Worksheet).Select()


.


这篇关于如何查找每一行并查找内容名称然后复制行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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