About
Pricing
Community
Teams
Start Free Trial
Log in
durick
asked on
9/17/2016
DoCmd.TransferSpreadsheet acImport works with .xls but fails with .xslx files
code.txt
.xls files import fine
but .xslx files are all garbage characters
SAMPLESPEC.xls
SAMPLESPEC.xlsx
Clipboard01.jpg
Clipboard02.jpg
Microsoft Access
Microsoft Applications
5
1
Last Comment
Eric Sherman
8/22/2022 - Mon
Eric Sherman
9/17/2016
Which version of Access are you using???
For XLSX files you would probably need Access 2007 and later versions.
ET
crystal (strive4peace) - Microsoft MVP, Access
9/17/2016
here are different AcSpreadSheetType types
https://msdn.microsoft.com/en-us/library/office/ff196017.aspx
durick
9/18/2016
ASKER
I'm runing Access 2003, with Excel 2013
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER CERTIFIED SOLUTION
crystal (strive4peace) - Microsoft MVP, Access
9/18/2016
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Eric Sherman
9/19/2016
XLS is the default file format for the 2003 version of Excel and older while XLSX for versions since 2007
Save the .XLSX file as .XLS if you are using Access 2003.
ET
For XLSX files you would probably need Access 2007 and later versions.
ET