Hello, I have been trying to built a robot that compares some specific information from several PDFs but without success. For some of the PDF I need OCR and so far I have been able to extract the data, split into strings by word but I haven’t been able to compare the data.
Honestly I’m not sure. what I did was that I read the pdf with ocr and store the text as string then split it and store every word as row in a csv table. What I wanted to do after that is to be able to find a word in the list. For example a date(which is stored in another Excel file)
Thank you, but what I need is a way to go through the table to find if any of the cells contain the string I have stored in the other table. I’ve been trying with the for each row but then I get lost and can’t figure out what to do.
Thanks,
However, just yesterday I tried something different. Instead of using Data table I extracted the info from the pdf as a text string and then just tried for each row in the excel table match row.ToString into the string. Then if match is true continue…
dtSelect table would be different to the datatable that you are looping through - sorry lazy writing on my behalf. Assuming all you care about is that at least one instance of the word exists in the other table this should work. I’ve edited the original example.