B
Bill
Anyone have an example of how to read records (lines)
from a txt file in VBA code?
Like:
Dim strMyString as String
(define what? a file object?) MyTxtFile "c:\MyFolder\MyFile.txt"
strMyString = ReadLine.MyTxtFile
Do While MyTxtFile.EOF = False
..
.. (process code)
..
strMyString = ReadLine.MyTxtFile
Loop
from a txt file in VBA code?
Like:
Dim strMyString as String
(define what? a file object?) MyTxtFile "c:\MyFolder\MyFile.txt"
strMyString = ReadLine.MyTxtFile
Do While MyTxtFile.EOF = False
..
.. (process code)
..
strMyString = ReadLine.MyTxtFile
Loop