![]() |
#1
|
|||
|
|||
![]()
I've been doing some research and test-coding in Excel/VBA to get the following task accomplished, however unsuccessful so far. Could anyone please point me towards the right direction how to copy cell values many hundreds of different sensors into a summary file as follows:
Measurement data located in excel-files (two files per sensor) are placed in a (sub-)folder structure as follows: ...\data\sensorSN10\finished\workbookA_SN100.xls + workbookB_SN100.xls ...\data\sensorSN11\finished\workbookA_SN101.xls + workbookB_SN101.xls In a summary excel (...\data\summaryexcel.xls) I want the VBA script to go through the entire (sub-)folder structure of ...\data\, look if any workbook-data/file is available, copy any (non-empty) cell values C1 of workbookA_SN* to summaryexcel.xls column D1-Dxxx, as well as any (non-empty) cell values B1 of workbookB_SN* to summaryexcel.xls column E1-Exxx. In an additional column of the summaryexel.xls (C1-Cxxx) I'd like to copy the SN's (=serial numbers) of each sensor (which is given in the filename). How could this be accomplished? Any help greatly appreciated. Best George |
Tags |
measurement, sensor, vba |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Use CSV as search criteria for Outlook search folder | lonesoac0 | Outlook | 0 | 03-07-2016 02:31 PM |
Search a folder to move an email to | koolman31 | Outlook | 0 | 02-11-2016 10:29 AM |
VBA Word - Search Within Files Containing A String - Copy Files to New Folder | jc491 | Word VBA | 0 | 01-09-2016 12:00 PM |
How to constantly and automatically copy the contacts from a shared folder to my private folder? | Paulo | Outlook | 0 | 08-16-2015 12:06 PM |
Search Folder sent to criteria | markstro | Outlook | 0 | 12-20-2011 02:47 PM |