Ok great! Thank you so much. I was considering to write (possibly multiple session per day) in the same file each day. It's more of a safety measure than that I need a very strict separation of data. But great to have the code at hand if I change my mind. I. I applied your code a bit, but...