Isn't writeline supposed to start a new line when you write data to a textfile?
Set fs = CreateObject("Scripting.FileSystemObject")
Set vtextfile = fs.CreateTextFile("c:\testfile.txt", True)
vtextfile.write ("test")
vtextfile.Close
This code replaces what's already in the file with new data.
Set fs = CreateObject("Scripting.FileSystemObject")
Set vtextfile = fs.CreateTextFile("c:\testfile.txt", True)
vtextfile.write ("test")
vtextfile.Close
This code replaces what's already in the file with new data.