i have a while loop and it do writing some data with !csvline and csvsave commands to a csv file
Now, with each repetition of the loop, the text is written inside the csv file, and with the next loop run, the text is written inside the next line. How can it be prevented? That is, only one line should be rewritten.
The classic csvSave command is only for the standard case, which is to create a new line for each entry. But with csvSaveArray you have full control over the CSV file. This macro does what you want:
First we create an array
Then we start a times loop:
– Then we set a certain cell to the value in line 7.
– Then save the array to CSV - same line for every loop!