Extracting text from PDF Files into Excel.

Saee Mane

New Member
Joined
Aug 30, 2021
Messages
16
Office Version
  1. 365
Platform
  1. Windows
Hello All,

Is there any VBA code to extract text from PDF file into an Excel.

Here my requirement is after downloading the PDF files the VBA code should extract the specific data from it in excel sheet.

Your assistance will be highly appreciated. Thank you in advance.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
specifically with VBA?
i do this all the time with power query
i do get data from PDF
 
Upvote 0
There is VBA code that will extract text from a PDF file. If you follow one of the related links at the bottom of this page - Extract data from .PDF - the response by GWteB leverages the PDF reader functionality in MS Word, and outputs the text to a spreadsheet.

From there, it should be straightforward to adapt it to your particular needs.
 
Upvote 0
Solution
There is VBA code that will extract text from a PDF file. If you follow one of the related links at the bottom of this page - Extract data from .PDF - the response by GWteB leverages the PDF reader functionality in MS Word, and outputs the text to a spreadsheet.

From there, it should be straightforward to adapt it to your particular needs.
It is Amazing!
Thank you so much for the code.

I tried the code and it is working exactly the way I want.
 
Upvote 0
That's great - glad to hear it. More importantly, thanks to @GWteB for writing the code! :giggle:
 
Upvote 0

Forum statistics

Threads
1,224,900
Messages
6,181,635
Members
453,059
Latest member
jkevin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top