dmoring
asked on
Ending ReadLine at EOF
Using the Object FSO I want to read each line to a variable. Some sample for clarity:
Set objTextStream = objFSO.OpenTextFile(FileTo Open, 1)
'Want to have line below read until EOF
txtMsg = objTextStream.ReadLine
What is the syntax for EOF so it does not error out?
Set objTextStream = objFSO.OpenTextFile(FileTo
'Want to have line below read until EOF
txtMsg = objTextStream.ReadLine
What is the syntax for EOF so it does not error out?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked great!!! Thank you!
T.P.