Hamster1337
New Member
- Joined
- Nov 18, 2022
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hi all,
I'm trying to figure out how to find a certain word/string in a large number of PDFs and then insert the string following that keyword into Excel.
All PDFs are set up like this:
Date, letterhead etc.
Title: a various title, differing in words and lengths in each pdf
Number: a number (I think they're all the same lengtht)
Rest of the PDF
So what I would want the script to do is open the pdf, find the string after Title until Number:, insert in Excel Columns A1:A99
Then take the numbers after Number: and insert in Excel in Columns B1:B99
I've tried using that one: Extracting string from PDF and inserting into Excel using VBA
But it's not exactly the same thing and I can't figure out how to extract the strings after Title:.
Thanks a lot!
I'm trying to figure out how to find a certain word/string in a large number of PDFs and then insert the string following that keyword into Excel.
All PDFs are set up like this:
Date, letterhead etc.
Title: a various title, differing in words and lengths in each pdf
Number: a number (I think they're all the same lengtht)
Rest of the PDF
So what I would want the script to do is open the pdf, find the string after Title until Number:, insert in Excel Columns A1:A99
Then take the numbers after Number: and insert in Excel in Columns B1:B99
I've tried using that one: Extracting string from PDF and inserting into Excel using VBA
But it's not exactly the same thing and I can't figure out how to extract the strings after Title:.
Thanks a lot!