S
satya.mahesh
Hi All,
I am looking for a VB code which does the following:
I have a folder structure:
C:\Test
Under that folder I have some files :
File1.txt
File2.txt
Each of the files again follow a specific pattern:
File1.txt
Inputs:
a
b
Outputs:
c
d
File2.txt
Inputs:
d
e
Outputs:
f
g
The macro should navigate to the folder and loop thru all the files and
fetch the data. It should display the contents in an excel file as
follows:
file Name Inputs Outputs
**********************************************
File1.txt a c
b d
File2.txt e g
f h
I shall be glad if anyone can provide me with a VB macro/suggestions as
how to do this.
Thanks,
satya
I am looking for a VB code which does the following:
I have a folder structure:
C:\Test
Under that folder I have some files :
File1.txt
File2.txt
Each of the files again follow a specific pattern:
File1.txt
Inputs:
a
b
Outputs:
c
d
File2.txt
Inputs:
d
e
Outputs:
f
g
The macro should navigate to the folder and loop thru all the files and
fetch the data. It should display the contents in an excel file as
follows:
file Name Inputs Outputs
**********************************************
File1.txt a c
b d
File2.txt e g
f h
I shall be glad if anyone can provide me with a VB macro/suggestions as
how to do this.
Thanks,
satya