ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copying Rows from one workbook to another (https://www.excelbanter.com/excel-programming/360946-copying-rows-one-workbook-another.html)

Kris

Copying Rows from one workbook to another
 
I want to filter and copy rows from one workbook to another. I already
have the code to do it from one spread sheet to another. I wanted to
see if I could modify just this one line of code:


Set ws1 = Sheets("Solution Direct Tracking")

To be able to choose a worksheet in another workbook that isn't open.
Is this possible or do I need to copy that worksheet to the new
workbook filter/sort and then delete it again? If so could someone
point me in the right direction to be able to create that code.


Thanks


Kris



All times are GMT +1. The time now is 03:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com