I am building a data consolidation tool in access.
There are multiple Excel files from different vendors, each vendor has different format and for some years data the format keeps changing for the same vendor.
I worked on a single vendor and created a unique field list for that particular vendor and based on the unique field list, mapped required fields to the master tables field list and uploaded data to master table. I was able to upload the data to the database correctly.
Now since I have to work on more then 20 vendors with different formats, I am trying to collect the unique headers for each vendors manually but this is very time consuming. I created an Excel macro to collect the headers in Excel for each file and collect the required fields from these files. Still I have to work on 5300 excel files manually and get the fields from these files.
The issue I am facing is there can be multiple headers of same name as that of master table field.
Is there some other way to get the headers mapped to the master table field list and upload these to a table in Access table.
Something like get all the header in a table for each file and select the required fields to map it to Master table.
I have 15 fields in Master table and the input files can have more then 15 or less then 15 fields in the data table.
Any suggestions would be highly appreciated
There are multiple Excel files from different vendors, each vendor has different format and for some years data the format keeps changing for the same vendor.
I worked on a single vendor and created a unique field list for that particular vendor and based on the unique field list, mapped required fields to the master tables field list and uploaded data to master table. I was able to upload the data to the database correctly.
Now since I have to work on more then 20 vendors with different formats, I am trying to collect the unique headers for each vendors manually but this is very time consuming. I created an Excel macro to collect the headers in Excel for each file and collect the required fields from these files. Still I have to work on 5300 excel files manually and get the fields from these files.
The issue I am facing is there can be multiple headers of same name as that of master table field.
Is there some other way to get the headers mapped to the master table field list and upload these to a table in Access table.
Something like get all the header in a table for each file and select the required fields to map it to Master table.
I have 15 fields in Master table and the input files can have more then 15 or less then 15 fields in the data table.
Any suggestions would be highly appreciated