Re: Append new line to Text File




"Dan" <power919@xxxxxxxxx> skrev i meddelandet
news:1157030990.969965.244670@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Open App.Path & "\sinfo.txt" For Append As #1
Print #1, title & " " & Artist
Close #1

When I use the above code in a file that already has one line of text,
it just puts the stuff at the end of the line not on a new line. (I
don't want to use write because I don't want quotes around my text).

To keep the end of line as before,
Print #1, vbcrlf & title & " " & Artist;

/Henning


.