I am exporting data to a text file in a loop. The output file skips a line after each loop. I want the data to be in one line or to export 10 or 20 times before skipping a line. Is there a way for me to say "don't skip a line" or to control when to skip a line?
Thanks for your help.
Here's an example similar to my code:
My output is:
1,
2,
3
I want: 1,2,3
Thanks for your help.
Here's an example similar to my code:
Code:
i = 0
Open "myfile.txt" For Output As #1
Do While i <> 3
i = i + 1
Print #1, i & ","
Loop
Close #1
1,
2,
3
I want: 1,2,3