I’m developing a robot that takes the last downloaded download from a folder and converts this file into xls (original file is in csv)
I created a variable that brings the most recent file. (new DirectoryInfo(foldername").GetFiles().OrderByDescending(Function(f) f.LastWriteTime).First().ToString.
I took this variable created and put it in the READ CSV function, for it to read the path and created the variable (excelformat)
but the error appears
Read CSV: Could not find file ‘C:\Users\guilherme.silva\Documents\UiPath\testsrename file\excelsalvo’.
what went wrong, can you help me?
I just wanted to turn csv into xls, and rename the last file just downloaded, as mentioned above.