Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

External table is not the expected format.... Access transferspreadsheet function

Posted on 2011-09-29
2
1,075 Views
Last Modified: 2012-06-27
I'm using the Transferspreadsheet function to import an Excel file using the following code.  I've checked the values in the variables with msgbox but get the "External table is not in the expected format" error.  The file is in the location....

DoCmd.TransferSpreadsheet acImport, , "Clarity_Project_Information", varClarityFilePath & varClarityFileName, True

Thanks for your help,
je
0
Comment
Question by:aeolianje
  • 2
2 Comments
 

Accepted Solution

by:
aeolianje earned 0 total points
ID: 36817719
duh -- when the xls file was generated from an external application, it saved as XML with .xls extension.... problem solved....
0
 

Author Closing Comment

by:aeolianje
ID: 36817723
problem solved
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question