Rename a text file to xls

How can I rename a text file to xls

You want to convert the text file to xls or just rename?


Kindly share the sample text file with us

Welcome to Uipath community

Refer to this thread


1 Like

use rename file activity


or if you want to generate an xls file out of a text file , u have to follow the below method
1- read the txt file using Read text file activity, and assign the out to a string variable strTxt
2-To convert the the text strTxt to datatable, use generate datatable activity, you can provide the patter how the data is coming , then the output will a datatable variable (varDT)
3-Write range the varDT with the required excel name with .xls as extention

1 Like