jardenp
Active Member
- Joined
- May 12, 2009
- Messages
- 373
- Office Version
- 2019
- 2016
- 2013
- 2011
- 2010
- Platform
- Windows
This may be a long shot, but if there is an excel board community that can help with this, I'm confident this is the one.
I want to write a script that runs through all Excel workbooks in a folder (let's say S:\Folder) and copies all cell values where the first two character are "U1". So, for instance, this would pull "U10245" from B5 in Workbook1, "U15555884455754454" from D47 in Workbook2, etc. and paste them into a list on a new sheet. I don't know if this would make a difference, but formulas are not in play. That is, I'm not concerned about copying cells where a formula produces a value that starts with "U1." If it pulls those in too (I don't think there are any) that's fine, but it's not necessary.
Thanks!
JP in IN
I want to write a script that runs through all Excel workbooks in a folder (let's say S:\Folder) and copies all cell values where the first two character are "U1". So, for instance, this would pull "U10245" from B5 in Workbook1, "U15555884455754454" from D47 in Workbook2, etc. and paste them into a list on a new sheet. I don't know if this would make a difference, but formulas are not in play. That is, I'm not concerned about copying cells where a formula produces a value that starts with "U1." If it pulls those in too (I don't think there are any) that's fine, but it's not necessary.
Thanks!
JP in IN