How to search text in pdf files from one folder and give output files containing that text in another folder using VBA?

ApM 1 Reputation point
2022-06-30T08:11:54.26+00:00

I wish to search a specific text through list of all pdf files in a folder
VBA should be built in such a way that it searches texts through all the PDF files and gives output files containing that text in another folder

Can this be done? If yes, please help me with the VBA code

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,720 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,689 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Oskar Shon 866 Reputation points MVP
    2022-11-08T21:44:52.387+00:00

    You can't that simple. VBA do not support that solution.

    To see good automatization in code you should reference to Adobe full version (not reader)
    or you can try to use MSWord for import and export (1:10 success)
    or look for power automate in business 365 license
    or use OCR programs to do that
    or web applications
    or cellphones applications based on the same sue.

    If you use outside services, you giving them your files for good.

    0 comments No comments