VBA learner ITG
Active Member
- Joined
- Apr 18, 2017
- Messages
- 267
- Office Version
- 365
- Platform
- Windows
- MacOS
Hi all,
I have over 500 spreadsheets which isnt formatted in the same way, I need to only capture the below column headers and associated data which can be in a row or column.
URN
Packaging
Delivery
Price
I need to capture the data in the below format to build a database:
<tbody>
</tbody>
Example of how the data is formatted in various spreadsheets looks like the below:
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
****** id="cke_pastebin" style="position: absolute; top: 190.4px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
<tbody>
</tbody></body>
I have over 500 spreadsheets which isnt formatted in the same way, I need to only capture the below column headers and associated data which can be in a row or column.
URN
Packaging
Delivery
Price
I need to capture the data in the below format to build a database:
Urn | DUN00266 | |
Packaging | 35.00 | |
Delivery | TBC | |
Price | 87.00 |
<tbody>
</tbody>
Example of how the data is formatted in various spreadsheets looks like the below:
Campaign | 6PM CHRISTMAS OPENING TIMES STICKER | ||||||||||||||||||||||||||
Campaign Version | Version1 | ||||||||||||||||||||||||||
PO Number | |||||||||||||||||||||||||||
Start Date | 09/11/2016 | ||||||||||||||||||||||||||
Created By | zack carter | ||||||||||||||||||||||||||
Element | All | ||||||||||||||||||||||||||
Store | All | ||||||||||||||||||||||||||
Status | All | ||||||||||||||||||||||||||
Printer | All | ||||||||||||||||||||||||||
This Exported | 03-11-2016 11:23 | ||||||||||||||||||||||||||
Element Code | Element Description | Element Type | URN | Height | Width | Material | Finishing | Cols Front | Cols Back | Colour Details | DSSame | DSDiff | Artwork Instructions | Keyword1 | Keyword2 | Keyword3 | Keyword4 | Keyword5 | Print Process | NumStores | BriefDetails | Rule | Allocate Qty | Library Qty | % of Library | Total Qty | Price |
DUN51136 | Christmas- CHRISTMAS- 6PM | Sticker (36mm x 22mm) | DUN00266 | 36 | 22 | Permanent Self-Adhesive | TTS | 4 | 0 | False | False | Cheapest | 155 | 310 | 31 | 10.00 % | 341 | £52.00 | |||||||||
Packing | £35.00 | ||||||||||||||||||||||||||
Delivery | TBC | ||||||||||||||||||||||||||
TOTAL | £87.00 |
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
****** id="cke_pastebin" style="position: absolute; top: 190.4px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
DUN00266 |
<tbody>
</tbody>