Copy specific data from PDF file to excel sheet

sahil20

New Member
Joined
Sep 6, 2014
Messages
1
Hi,

I would like to know if the following is possible by using macro(VBA) ::confused:

Steps:
1) Open a pdf file on a button click.
2) Search for a specific word in the pdf file which will be specified in the workbook.
3) On finding the specified word in pdf file ,copy data related to the searched keyword from pdf to excel.

for e.g : say i have a column A in excel sheet where name is stored and i want to search that name in pdf file and then i have to copy the id,address and phone number for that particular name only, back to the excel sheet in columns B,C and so on...

If it works for 1 pdf then it would help me a lot working for muliple pdf's at a time.

Thanks in advance.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Welcome to the forum.

Extracting data from PDF is not an easy thing to do. PDF draws the document. So the part of the PDF that draws the adjacent column is not always next to the word you searched for.

I have not had much luck trying to extract data from PDF in a usable way.
 
Upvote 0

Forum statistics

Threads
1,216,077
Messages
6,128,679
Members
449,463
Latest member
Jojomen56

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