Hi,
I need to read 5 pdf files(pdf will open in browser) and take some values and need to write that in excel.
I tried this but file name must be in double quotes.
Can someone help me.
Regards,
Sharu
Hi,
I need to read 5 pdf files(pdf will open in browser) and take some values and need to write that in excel.
I tried this but file name must be in double quotes.
Can someone help me.
Regards,
Sharu
Hi @sharu_priya
To read 5 PDF files and extract values from them, you can follow these general steps:
Use the Read PDF Text activity to extract the text from each PDF file. You can use a loop to iterate through all the files in a folder, or specify each file path individually.
Use string manipulation functions, such as “Substring” or “Split,” to extract the desired values from the text. You may need to experiment with these functions to find the best way to extract the values, depending on the structure of the PDF files.
Store the extracted values in a DataTable or a List<>, depending on your needs.
Use the “Write Range” activity to write the values to an Excel file. You can specify the worksheet and the range where you want to write the values.
in the for loop properties change the type argument to string
then use file
in the read pdf text input
better first change file
to something else like pdffile
as it might conflict with the file keyword
Hope this helps
cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.