将一个页面的一定范围复制到其他工作表中的某个指定单元格 [英] copy a certain range of one sheet to a certain specifed cell in other sheet

查看:157
本文介绍了将一个页面的一定范围复制到其他工作表中的某个指定单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

   Workbooks(1).Worksheets(1).Copy  after:=wb2.Sheets(1)

上面的代码总是覆盖以前的内容,但这不是我想要的。
如何将特定范围复制到特定单元格的其他工作表。

The above code always overwrites the previous contents but That is not what i want. How do I copy a certain range to other sheet at a particular cell.

示例我必须复制

    sheet1.range("A5:B12") set of values to sheet2.range("A4")

我发现

   selection.copy and activesheet.paste ' but this is not i want 

我想要一个复制和目的地的例子。我已经很久以来一直在搜索它,但无法找出文件和来源。任何人都可以帮助我吗?

I want a copy and destination example . I have been googling it from long time but unable to find out the documents and source. Can anyone please help me?

推荐答案

Sheet1.Range("A5:B12").Copy Destination:=Sheet2.Range("A4")

这篇关于将一个页面的一定范围复制到其他工作表中的某个指定单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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