I have a macro that searches for a phrase in the text of a pdf document using "FindText". It works great. However, what I need is for it to return the next word or phrase after the search term. It seems like it should be simple, but for the life of me, I can't figure it out or find anything on it.
For example, I search for "Claim Number". The macro opens the pdf and highlights the first instance of "Claim Number". What I want though is for it to return the actual number. I search for "Claim Number" and I am returned "123456789". Or, search for "Patients Name" and get returned "John B. Doe".
I have searched all over but can't seem to find this specific situation anywhere.
Anyone have ideas?
Thank you,
Bookmarks