sychoangel
Registered User.
- Local time
- Today, 14:59
- Joined
- Jul 4, 2008
- Messages
- 20
This is a bizare one that I cant seem to find an answer for...
I have an excel 2003 file (users dont want to change it to excel07) that needs to be imported into an access 2007 database.
When I try importing it using from the quick access tool bar : External Data Tab > Import > Excel > specify the blah.xls file > and then select "Show Named Ranges"... none of the named ranges from the blah.xls file show!
However if I save it as an excel 2007 file and follow the same steps above, all the named ranges appear!
Also, with the same file - if i try creating a macro via the Macro option on the create tab, and then specify:
- Action : Transfer Spreadsheet
- transfer Type: Import
- Spreadsheet Type: Microsoft Excel 97 - Excel 2003 Workbook {have also tried with Excel Workbook}
- Table Name: blahblah
- File Name: c:\blah.xls
- Has Field Names: yes
- Range: BlahNames
it comes back with an error:
The Microsoft Office Access database engine could not find the object 'BlahNames'. Make sure the object exists and that you spell its name and path name correctly.
But if i change the macro to point to the version that was saved as an excel 2003 file (c:\blah.xlsx), it works perfectly fine!
I wish i could just use some VB code, but the person that does my job when i'm on leave will need to sometimes modify the file name & range specified, but they dont now code.
Has anyone got any ideas???
I have an excel 2003 file (users dont want to change it to excel07) that needs to be imported into an access 2007 database.
When I try importing it using from the quick access tool bar : External Data Tab > Import > Excel > specify the blah.xls file > and then select "Show Named Ranges"... none of the named ranges from the blah.xls file show!
However if I save it as an excel 2007 file and follow the same steps above, all the named ranges appear!
Also, with the same file - if i try creating a macro via the Macro option on the create tab, and then specify:
- Action : Transfer Spreadsheet
- transfer Type: Import
- Spreadsheet Type: Microsoft Excel 97 - Excel 2003 Workbook {have also tried with Excel Workbook}
- Table Name: blahblah
- File Name: c:\blah.xls
- Has Field Names: yes
- Range: BlahNames
it comes back with an error:
The Microsoft Office Access database engine could not find the object 'BlahNames'. Make sure the object exists and that you spell its name and path name correctly.
But if i change the macro to point to the version that was saved as an excel 2003 file (c:\blah.xlsx), it works perfectly fine!
I wish i could just use some VB code, but the person that does my job when i'm on leave will need to sometimes modify the file name & range specified, but they dont now code.
Has anyone got any ideas???