Extracting Data from a PDF using VBA?

hellfire45

Active Member
Joined
Jun 7, 2014
Messages
464
Is it possible to extract data from a PDF using VBA? For example, an invoice?

If so, can somebody please shed any light on how this can be done?

Thank you!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
The simple answer is No.

Your best bet is to use a tool to convert it to Excel, but converting an image accurately and consistently is in the realms of AI. For example if someone has stamped the invoice with a received stamp, it would need to isolate that and ignore it. I've tried it on scans of printouts in the past and it always needs a lot of checking and correcting and tbh it's usually just as easy to read the invoice and type it into a spreadsheet yourself. Every blemish on the invoice usually gets converted to some bizarre character in size 6 turkish unicode or whatever the decoder decides is the best match.
 
Upvote 0
You could try the Adobe online converter, you need to pay for a subscription though. it's not much for a personal licence and can do a reasonable job but every figure needs checking.
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

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