Vb, How to pull exact information from header

Closed
weenie - Sep 2, 2011 at 02:28 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Sep 13, 2011 at 11:26 AM
Hello,

I have a few questions:

1. How do I extract information from DAT & CSV files without opening the file and copy to a excel 2007 workbook sheet1?

2. I will be copying Colums B to E THEN the information I need to FIND is in a Header Row (F1 to OM1). I will need to copy the entire column once it finds exact parameters. There are over 300 Header Row Parameters and I will only need to copy 4 parameters, for example 250_0300_VTM_(20/20), 250_0300_Idsat_(3.6/3.6)_(20/20), 250_0300_VTM_(20/0.35), 250_0300_Idsat_(3.6/3.6)_(20/0.35).

3. There are over 50-100 DAT files or CSV files and each file will have different header Parameter BUT the consistent naming should start after _VTM or _Idsat. The first part will change for example 250_0300 or 160_0250 or 270_0493 or 250_0310 so maybe this can be ignored during the match.

Thank you for any help

Weenie

Related:

1 response

rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Sep 13, 2011 at 11:26 AM
From what I know, you would be opening the file and reading the file. Depending on the file size and manipulation and search etc that you would like to do, it may be more desireable to read the file as text file rather than import into excel or it may be more desireable to import into excel.
0