Please guide as to For each file in a folder create an excel file.
Kindly guide, I will truly appreciates/
Please guide as to For each file in a folder create an excel file.
Kindly guide, I will truly appreciates/
Your question isn’t clear what you are trying to achieve. Explain it more in detail!
There will be 3 to 4 multiple PDF files saved in a file path and from there I am processing them one by one and when the data is being processed then i need to create excel files and paste the data in there.
Hope this helps
Directory.GetFiles("yourFolderPath", "*.pdf")For Each pdfFile In pdfFilesPath.Combine("OutputFolderPath", Path.GetFileNameWithoutExtension(pdfFile) & ".xlsx")
Invoice123.pdf, Excel becomes Invoice123.xlsx.currentfile.Name.Replace("pdf","xlsx")cheers
Use the For Each File in Folder activity to loop through the files. Inside it, read the current file (PDF) and create the Excel file.
1 excel with 6 sheets with names like A, B ,C,D, etc
@Rajat2 first use excel process scope inside that use for each file inside for each file use “Use exce File activity” and enable the option create if not exist and in path provide the path of the pdf and replace “.pdf” with “.xlsx” after that use write range and provide the sheet name as pdf file name it will dynamically add the excel file and sheet in case if not present
Then you need to have an excel as template with empty sheet or data already and then inside loop use excel file or write ramge or write cell
Give different sheetbames or use currentfile.bame as sheetnames
Cheers