Problem is when it’s not going in the if I got this in my csv :
test1234, test@gmail.com
And otherwise I got this : test@gmail.com, Non renseigné
What the hell is going on and how can I fix it please ? It feels like a bug because the order should not be altered but it is. Find it quite strange.
I can not confirm this issue. With or without IF, the order in the CSV is always the same. I tested with the below macro (since I can not run your macro).
I have reproduced the same problem here: for example, 1, 2, and 3 are written into !csvLine through the three values obtained by xclick. After the final csvsive, the order of saving in csv is not 1, 2, 3, but 1, 3, 2. Suspected bug.