Hi to all here is my prob
i want to create a new text file and write only to lines in it so i use the following code
the problem is that test.txt now contains 3 lines the last one is empty like the string i entered was s=s="ee" & vbcrlf & "kk" & vbcrlf how do i overcome that one?VB Code:
s="ee" & vbcrlf & "kk" open app.path & "\test.txt" for append as #1 print #1,s close #1
thnks


Reply With Quote