Solved

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

Posted on 2011-09-29
2
1,138 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
[X]
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
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

632 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