Thanks so far for all help I have recived. I have tried to search on forum if there are any way to write a file, like a csv and give the file a name found in one of the strings. I have multiple txt document in a folder, reading each file and output to a csv file. Now the second document overwrite info stored in “master.xlsx”, I want to give output different name so I keep all xls files.
REgards