Solved

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

Posted on 2011-09-29
2
1,035 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now