read data from pdf file and insert into excel spreadsheet

crystal990

New Member
Joined
Mar 21, 2012
Messages
6
My department receives a daily summary report in pdf format of number of products pulled (each day). We have been manually entering the number of each product in a monthly excel spreadsheet. We have nearly 500 products and naturally people enter the totals on the wrong line,etc, and it screws up our inventory report. I would like to use vba to automate most if not all of the steps. I'm slightly familiar with vba but I'm not sure how best to approach this.

I saved the pdf file as a text file and copied it into excel. The pdf file looks like this when I copy it into excel and define the delimiters,etc. Each page has a header of report name and date, page #; so the data in excel is separated by the header.

Daily Summary

Date: 8/28/2015 3:12:22 PM Page 1 of 5


Product Description Component Qty
ADB7 Cebright Express ADB7 GSA DOD FGSA1PLS454 10
GN83 XYZ - GN83 Standard PAY FEXGA5PL665 6
W008 Get Go 1 Plastic FGTG1PLS600 1
I9NC Richards Corp GUL1 Gulf FUL1PLS997 2
SEPC Luna Aviation GUL2 Gulf Business FEGUL2PLS403 126
PJK7 XYZ - GULF COMMERCIAL MILL FGUL3LS838 7
ZF7Y Automotive Express ZF7Y Hayden FHAY1PLS005 2
ASV2 ABCD Company ASV2 High Noon FXHI1PS234 143
JOL8 XYZ - Holiday Oil FGXHOLPS323 34


From this data all I need is the 4 character product name and the number (total) at the end of each line.

What I would like to accomplish is:
- acquire the daily summary data (date, product name, and total);
- in the monthly spreadsheet, locate correct date;
- locate product in col 1 titled 'type';
- enter amount for each product in column titled 'pick list';

also, create a backup of the monthly spreadsheet (just in case)

I'm stuck on how I even want to proceed. I'm open to any ideas and willing to try any other suggestions.

Thanks in advance.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,216,254
Messages
6,129,722
Members
449,529
Latest member
SCONWAY

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