Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In general, to copy a whole sheet of data from one sheet to another, use
code like the following. Change the names of the worksheets to whatever you need. Public Sub Test() Dim wsSource As Worksheet Dim wsDest As Worksheet Dim rngSource As Range Set wsSource = Worksheets("Source") Set wsDest = Worksheets("Dest") Set rngSource = wsSource.UsedRange rngSource.Copy wsDest.Range("A1") End Sub -- Regards, Bill Renaud |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy a range into an array | Excel Programming | |||
What is the fastest way to copy a range to a 2D array? | Excel Programming | |||
copy one array formula to an array range | Excel Programming | |||
Copy Range and Paste to Array of Sheets | Excel Programming | |||
How Can I copy all value of the array into the range? | Excel Programming |