Oops.
The example above was ripped out of an existing piece of code and I accidently left the for...next loop in.
Read thread, write reply, READ reply, then post :-)
Take a look at the FileSystemObject. The example below is to read a file, but the priciples are the same :
DIM fso
DIM f
DIM lstr
DIM i
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile("C:\Test.txt")
while not f.AtEndOfStream
for i = 1 to 14
lstr=lstr &...
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.