Hi,
Please help to convert Text file into Excel file.
please help me .
Regards
TextTOExcel.txt (301 Bytes)
TextToExcel.xlsx (8.5 KB)
Hi,
Please help to convert Text file into Excel file.
please help me .
Regards
TextTOExcel.txt (301 Bytes)
TextToExcel.xlsx (8.5 KB)
Hi
hope the below steps would help you resolve this
Use a READ TEXT FILE activity where pass the filepath of text as input and get the output as string named Strinput
Then use a GENERATE DATATABLE activity and pass Strinput as input variable and get the output as dt DATATABLE
Now use a WRITE RANGE activity and pass dt as input and enable add headers property and mention the filepath where you want to write
Mention the column separator as “ “
A space that’s it
Cheers @Priyanka_Jadhav1
Hi,
Can you try as the following?
strdata = System.Text.RegularExpressions.Regex.Replace(strdata," +"," ")
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.