Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
How do I Copy a sheet in one workbook to another workbook in VBA. Say copy Sheet1 from workbook1 to Sheet1 to workbook2. Right now I just do this manually with a copy/paste and use the update button, but I know there must be a better way. Thanks As Always!!! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Code ------------------- Workbooks("Book1").Sheets("Sheet1").Copy Befo=Workbooks("Book2").Sheets(1 ------------------- HTH Marti -- MartinShor Software Teste ----------------------------------------------------------------------- MartinShort's Profile: http://www.excelforum.com/member.php...fo&userid=2203 View this thread: http://www.excelforum.com/showthread.php?threadid=55377 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You shouldn't have any trouble recording a macro.
Ah, I see you are using copy and paste. Try Edit, Move or Copy Sheet, be sure to check the copy box, and the rest is self explanatory. --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "k. moran" <k. wrote - How do I Copy a sheet in one workbook to another workbook in VBA. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy sheet cells into differnt workbook/sheet, How? | Excel Discussion (Misc queries) | |||
loop through a column on a workbook copying data on each row to another workbook, then copy data back to the original workbook | Excel Programming | |||
Copy Sheet from One workbook to another EXISTING workbook | Excel Programming | |||
automatic copy and paste from sheet to sheet in a workbook | Excel Programming | |||
Copy sheet from one workbook to another workbook problem | Excel Programming |