Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, guys,
I need to copy and paste several sheets in different workbooks in a folder to a old workbook with some other sheets. Using Ron's Copy sheet from each workbook, I could only creat a new workbook with the sheets I need. I can add the sheets to my old workbook? Thanks a lot. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Someplace in Ron's code there's a line for BaseBook (he uses the variables to
make things easier). He has something like: set basebook = workbooks.add(...) Instead, you could use: set basebook = workbooks("oldworkbooknamehere.xls") then test it out. Ray wrote: Hi, guys, I need to copy and paste several sheets in different workbooks in a folder to a old workbook with some other sheets. Using Ron's Copy sheet from each workbook, I could only creat a new workbook with the sheets I need. I can add the sheets to my old workbook? Thanks a lot. -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks a lot, Dave.
"Dave Peterson" wrote: Someplace in Ron's code there's a line for BaseBook (he uses the variables to make things easier). He has something like: set basebook = workbooks.add(...) Instead, you could use: set basebook = workbooks("oldworkbooknamehere.xls") then test it out. Ray wrote: Hi, guys, I need to copy and paste several sheets in different workbooks in a folder to a old workbook with some other sheets. Using Ron's Copy sheet from each workbook, I could only creat a new workbook with the sheets I need. I can add the sheets to my old workbook? Thanks a lot. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy all and paste values for all sheets in a workbook | Excel Worksheet Functions | |||
copy/paste values for all sheets in workbook | Excel Programming | |||
Open and copy all workbook sheets in a folder to a master file | Excel Discussion (Misc queries) | |||
Copy folder and paste to another folder | Excel Programming | |||
VBA to copy and paste folder | Excel Programming |