Writing to a text file

Can I write to a text file without the contents of the text file being in speech marks?
bigcAsked:
Who is Participating?
 
qhenryCommented:
use :
Print #filenumber, [outputlist]
instead of
Write #filenumber, [outputlist]

qhenry
0
 
watyCommented:
I do as follow in a lot of my project and works perfectly :

nPrintOut = FreeFile
Open sPSOut For Binary Access Write As #nPrintOut
         
' *** Add Generic Header
Put #nPrintOut, , "YourText" & chr$(13)

close #nPrintOut


0
 
bigcAuthor Commented:
Works perfectly - thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.