Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy multiple worksheet data from 2 different workbook
Hi,
How to translate the following into a working code in the following scenario. The code will run in new workbook :- 1.From new workbook, open old workbook. To use Application.GetOpenFilename(filefilter:="Excel Files, *.xl*") 2.If sheet name end with ABC or €“AB, copy range (J5:N & last row) from old workbook to new workbook 3.If sheet name end with XYZ or -YZ, copy range (M5:R & last row) from old workbook to new workbook The worksheets are in alphabetical order (and same name). I want to copy the values only from old book - workbook(1).worksheet(1).range to new book - workbook(2).worksheet(1).range There are a total of 18 worksheets to copy from old workbook to new workbook. Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how to copy data from one worksheet to multiple worksheets at once | Excel Worksheet Functions | |||
Copy data in multiple worksheet tabs into one worksheet | Excel Programming | |||
Copy Data from Workbook into specific Worksheet in other Workbook? | Excel Discussion (Misc queries) | |||
copy data in one sheet to multiple sheets in same workbook | Excel Worksheet Functions | |||
copy data from one worksheet and paste into another workbook | Excel Programming |