McDimwitty
11-09-2007, 06:56 PM
I have been trying to import an Excel spreadsheet into an Access table.
I have no say in how the XLS file is formatted. And the users of my Access application will be importing XLS files on a daily basis. The XLS file's header names are usually 2, 3 or even 4 words long.
I have read that to import a XLS into a table, the table's field names have to be the same as the spreadsheet column / header names.
I was hoping to change the XLS header names from within Access.
There is a new XLS file every day, so I am not able to run an Excel macro from Access.
How would I go about it? I have worked on it for several hours with NO success.
If you have a way to do it other than the way I described, please tell me.
=-= Mr McDimwitty =-=
I have no say in how the XLS file is formatted. And the users of my Access application will be importing XLS files on a daily basis. The XLS file's header names are usually 2, 3 or even 4 words long.
I have read that to import a XLS into a table, the table's field names have to be the same as the spreadsheet column / header names.
I was hoping to change the XLS header names from within Access.
There is a new XLS file every day, so I am not able to run an Excel macro from Access.
How would I go about it? I have worked on it for several hours with NO success.
If you have a way to do it other than the way I described, please tell me.
=-= Mr McDimwitty =-=