×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

read PDF content

read PDF content

read PDF content

(OP)
Hi

is it possibile using vbs to search a specific text on a pdf document?

Thanks

RE: read PDF content

I have some code that can extract a text string from a pdf using vba, not sure how much modification would need to convert to vbs. Also, requires MS-Word as the code converts the pdf to a word document and then uses vba automation to search the file in word. In general, because the information I am looking for is on a particular page, I use a program called pdftk to extract the page in order to speed up the process as more pages to search through take longer. Let me know if you would like me to post the code.

RE: read PDF content

(OP)
Hi,

thanks for your help

I have a vbs code that parse a txt doc..
Now my problem is to save/transform pdf to a txt file....

Do you know if there are something free to use in vbs?
THANKS

RE: read PDF content

<quote>Do you know if there are something free to use in vbs?</quote>

Probably would suggest an internet search for that. Otherwise, the code I use perhaps can be further modified to save as txt instead of to docx

If you have full acrobat, see if post #2 can be adapted for your situation
https://chandoo.org/forum/threads/vba-to-convert-p...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close