Dim strTextLine As String
Open "C:\Temp\MyFile.txt" For Input As #1
Do While Not EOF(1) [green]' Loop until end of file.[/green]
Line Input #1, strTextLine [green]' Read line into variable.
'Do what you need here[/green]
Loop
Close #1
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.