将每个单元组成(1)的第(2)(2)中等于(a)中的每个单元格(1)中的每个单元格,然后使其循环
For Each cell In sheets(1).Range("A50:A606")
For Each cell2 In sheets(2).Range("EX2:ACB2")
cell2.Value = cell.Value
Next
Next
(我知道这是错误的,但这就是我的意思)
For Each cell In sheets(1).Range("A50:A606")
For Each cell2 In sheets(2).Range("EX2:ACB2")
cell2.Value = cell.Value
Next
Next
(i know this is wrong but this is what i mean)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
循环和使用
offset()
您可以在不循环的情况下执行此操作,尽管使用
transpose()
:Looping and using
Offset()
You can do it without a loop though using
Transpose()
: