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?

Hi @Tyler_BARCLAY

Kindly share the sample text file with us

Welcome to Uipath community

Refer to this thread

Regards
Gokul

1 Like

use rename file activity

image

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