![]() |
Copy from one source to multiple spreadsheets
On a master spreadsheet I have on each row data for multiple spreadsheets. I
would like to set up a macro to copy this data into each of the designated destination spreadsheets. The macro I have is: Windows(SourceName).Activate Range(row, 2).Select Selection.Copy Windows(dept & ".xls").Activate Range("C3").Select ActiveSheet.Paste The problem is that "Range(row,2).Select" is not working. Is there a code which would work. Thanks |
Copy from one source to multiple spreadsheets
It not need to select the objects of Excel to manage them.
You can say something like below having the master worksheet activated: Range(Row, 2).Copy _ Destination:=Workbooks("DestWorkbook").Worksheets( "DestWSheet").Range("D3") Ο χρήστης "msdrolf" *γγραψε: On a master spreadsheet I have on each row data for multiple spreadsheets. I would like to set up a macro to copy this data into each of the designated destination spreadsheets. The macro I have is: Windows(SourceName).Activate Range(row, 2).Select Selection.Copy Windows(dept & ".xls").Activate Range("C3").Select ActiveSheet.Paste The problem is that "Range(row,2).Select" is not working. Is there a code which would work. Thanks |
All times are GMT +1. The time now is 01:34 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com