Importing Sheet

  • Thread starter Thread starter kirkm
  • Start date Start date
K

kirkm

What's the best way to move a whole sheet from one .xls to another?

Can you click and drag ? Or use code ?

The move, insert, copy options seen to be only within the same .xls

Thanks - Kirk
 
hi
manually, coping the sheet then pasting it into a new book works good.
with code...
Sub addmore()
ActiveSheet.UsedRange.Copy
'Cells.Copy' or copy the whole sheet
Workbooks.Add
'Worksheets.Add'or to a new sheet in the same book
Range("A1").PasteSpecial xlPasteAll
msgbox "Done"
End sub
which is best? both work....how often do you do this or need to do this?

Regards
FSt1
 
Many thanks for the help, guys. I did have difficulty with both
suggestions though.... then I figured out how the in-built
Move/Copy dialog worked.

Instead of 'Move Selected sheet" (which you don't do)
it should say 'Move Active sheet' then the Before Sheet list
and the To Book dropdown all starts to make sense.

Cheers - Kirk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Importing a Sheet 5
Import Worksheet 10
Appending sheet 4
save file using information from a cell 1
Excel Move or Copy Stopped Working? 0
VBA - Importing Sheets 18
Error Opening Workbook 3
excel 2003 vs 2007 menu and sheet issues 3

Back
Top