I have a multi-page pdf that I must take a specific piece of information from each page and create an excel spreadsheet containing that info.
To make things easier to understand, let’s just say that the pdf is multiple invoices in one pdf file. Each page is a new invoice with a new invoice number. The layout is the same on each page. I need to take each “invoice number” from each page and compile it into one list.
Use the page count to get an int32 and use that in the ForEach activity so that it attaches to the open pdf and automates taking the necessary information off each page using the hotkey activity (space) so that it goes to the next page and repeats the process appending to an excel doc the information I need as it goes.
I did not try using the document understanding. I was not able to find it.
I ended up using PDF Page Count to get an int32.
I then made a while loop with the condition being totalPages>=counter.
I used click to double click on the information I needed and Hotkey Ctrl + C, Hotkey right (so it moved to the next page).
From there I attached to a notepad and Hotkey Ctrl + V, Hotkey enter.
So it took the necessary information copied and pasted it into a new text file. Now I just need to figure out how to get that text into an excel file.