Forum home » Delegate support and help forum » Microsoft Excel Training and help » Copy whole worksheet
Copy whole worksheet
Resolved · Low Priority · Version 2003
Copy whole worksheet
Hi,I was hoping you could help with some code to copy a whole worksheet or large block of data into another worksheet (without creating a new worksheet and other than using the copy/paste or loop commands which are running slowly at the moment).
I have found some code using google but have been getting errors with it.
Thanks,
Alison
For upcoming training course dates see: Pricing & availability
RE: Copy whole worksheet
Hi AlisonThanks for your question.
If you are copying a whole block of data in its entirety then it may be quicker to use the copy paste method.
Sheets("source").select
Range("A1").currentregion.select
selection.copy
Sheets("target").select
range("A1").select
activesheet.pasteUsually it is bad practice to use the select method as it slows down code execution. In this instance however it might be your best option
Regards
Stephen
Wed 12 May 2010: Automatically marked as resolved.
|
|
» Forum post: Excel |



Course updates

