You can't copy a worksheet to a cell. You copy cells to cells, worksheets to
worksheets. If you want to copy all the cells in a worksheet to another
worksheet beginning in R1, it's possible, but you no longer have all the
columns available. Maybe something like this:
Workbooks("Book6").Sheets(1).Cells.Resize(Cells.Rows.Count,
Cells.Columns.Count - 18).Copy
Workbooks("Book5").Sheets(1).Range("R1").PasteSpecial
Bob Umlas
Excel MVP
"AlanW" <(E-Mail Removed)> wrote in message
news:705F62E9-3D3E-4B2C-8D24-(E-Mail Removed)...
>I want to copy a worksheet from File A to the cell "R1" of a worksheet in
> File B by using VBA. Could someone please show me the way.
>
> Thank you.
|