How to prevent FileWrite() from adding a new line after each call?

 

Each time I use FileWrite() in TXT or CSV files it appends the file starting from a new line. However, I need it to write data into the same line, so that Excel imports data into the same row.

Each line will hold more than 256 characters, so I cannot use temporary string variables.

Please let me know what I can do to prevent FileWrite() from inserting new line characters, or force the function to append the line.

Thank you!

 
DVS75: Each line will hold more than 256 characters, so I cannot use temporary string variables.

Why do you think you can't?

Reason: