Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copying multiple sheets to another workbook
I want to copy some cells on a sheet to another workbook, then return to my original workbook and on another sheet copy some cells there to another sheet in the second workbook. I can accomplish this once, but how do I get control back to my original workbook so I can go to the second sheet and copy the cells? Then how do I make my destination workbook active again so it can receive the paste the second time? Below is what I have for the first copy/paste... Sheets("origin sheet A").Select Range("b3:c198").Select Selection.Copy Workbooks.Open (ThisWorkbook.Path & "\destination file.xls") Sheets("dest sheet A").Select Range("b3:c198").Select ActiveSheet.Paste -- mwc0914 ------------------------------------------------------------------------ mwc0914's Profile: http://www.excelforum.com/member.php...o&userid=24130 View this thread: http://www.excelforum.com/showthread...hreadid=487404 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copying multiple sheets to new Workbook | Excel Discussion (Misc queries) | |||
Multiple Sheets (Need to create 500 individual sheets in one workbook, pulling DATA | Excel Worksheet Functions | |||
COPYING Workbook and sheets automatically | Excel Discussion (Misc queries) | |||
Copying Sheets to New Workbook | Excel Programming | |||
Copying Sheets to New Workbook | Excel Programming |