I'm having a little trouble writing a text file with information from a vb program this is a sample of my code.
Open file.txt For Output As #1
Print #1, "Name"
Print #1, a; b; c
I want the output file have a, b & c all on one line and seperated by spaces, not commas. Which this does, however it puts a space in the line before the variable "a" is printed, I can't get rid of the space. Name doesn't have a space before it when it is printed, so I really don't know why its insisting on putting the space there.
Output looks like this:
1 2.5 7
Using the write command gets rid of the space however it places a comma between each variable.