After converting PDF to TXT and importing it in Excel this is an example.
Each record starts with PO Line Item Number and ends with Tax Article Number.
Considering conversion, sometimes there is a blank row or a row with meaningless data.
The only data I am looking for is in the PO Line Item Number in the 3rd column: 44.00 and 4th column: 16.98
and
in Brief Description row 2nd column: 04/03/2011 - ITEM1 - INDUSTRIAL 3
For the example below, I would like to extract data into a spreadsheet that looks like:
Column A Column B Column C
04/03/2011 - ITEM1 - INDUSTRIAL 3 44.00 16.98
04/03/2011 - ITEM1 - INDUSTRIAL 3 0.25 25.54
I suspect that this has to be a VB script that will recognize data 'start' and 'end' in order to correctly extract cells from each range and then do it until it reaches the end of the file.
If somebody had something similar, perhaps you could share. Thank you
Example:
| PO Line Item
Number |
000001 Quantity |
44.00 Unit Price |
16.98 Item Total before Tax |
| Unit of Measure |
HR EA Price per UOM |
|
|
| Tax Code |
Taxation country Code |
Tax Rate |
Tax Amount |
| Buyers Part Number |
Sellers Part Number |
Billing Period Start Date |
Billing Period End Date |
| Delivery Order Number |
Airway Bill Number |
|
|
| Brief Description |
04/03/2011 - ITEM1 - INDUSTRIAL 3 |
|
| Invoice Item Text |
7696 -
13051800 |
|
|
| |
|
|
|
| |
|
|
|
| Invoice Item Description |
|
|
|
| Standard Reason for Zero (0) Tax |
|
|
|
| Reason for Zero (0) Tax |
|
|
|
| Tax Article Number |
|
|
|
| |
|
|
|
| |
|
|
|
| PO Line Item Number |
000001 Quantity |
0.25 Unit Price |
24.54 Item Total before Tax |
| Unit of Measure |
OT EA Price per UOM |
|
|
| Tax Code |
Taxation country Code |
Tax Rate |
Tax Amount |
| Buyers Part Number |
Sellers Part Number |
Billing Period Start Date |
Billing Period End Date |
| Delivery Order Number |
Airway Bill Number |
|
|
| Brief Description |
04/03/2011 - ITEM1 - INDUSTRIAL 3 |
|
| Invoice Item Text |
7696 -
13051800 |
|
|
| Invoice Item Description |
|
|
|
| Standard Reason for Zero (0) Tax |
|
|
|
| Reason for Zero (0) Tax |
|
|
|
| Tax Article Number |
|
|
|