testare
Programmer
- Jan 21, 2005
- 127
I have 3000 files that i would like to get a specific text.
It is always at the second line of the files.
The textfiles are always something like this.
01,04,01,00012, 2005-07-25 11:40:08, 2005-07-25 21:02:00, 0
02,100,111,"2",112,"2",113,"60064","2005-07-25"
I would like to capure the text where i marked it as bold.
I would like to use this.
gmmastros helped me with for each and i like to continue using it.
How can i capture the bold text for every file that i have.
The text that i would like to capture is always after the seventh comma (,)
It is always at the second line of the files.
The textfiles are always something like this.
01,04,01,00012, 2005-07-25 11:40:08, 2005-07-25 21:02:00, 0
02,100,111,"2",112,"2",113,"60064","2005-07-25"
I would like to capure the text where i marked it as bold.
I would like to use this.
gmmastros helped me with for each and i like to continue using it.
Code:
Dim fso As FileSystemObject
Dim oFolder As Scripting.Folder
Dim oFile As Scripting.File
Dim strData As String
For Each oFile In oFolder.Files
strData = oFile.OpenAsTextStream(ForReading).ReadAll
Next
How can i capture the bold text for every file that i have.
The text that i would like to capture is always after the seventh comma (,)