How to read all text files one by one in a specified folder using msexcel vb editor
How to read all text files one by one in a specified folder
Collapse
X
-
In the help files, look up the following...
FreeFile Function
Open Statement
Line Input Function
Input Function
Close Statement
You can also look these up on the web (vb6 freefile function, vb6 open statement,...) and at M$. However, at M$ you will need to filter through all of the .net cra...stuff.
Also, help files should have examples for you to look at along with the various web sources...
Good Luck -
use following loop to get each text file
f=dir("*.txt")
do while f <> empty
'process files
f = dir()
loop
regards
Manpreet Singh Dhillon HoshiarpurComment
Comment