Solved

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

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

Technology Partners: 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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
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.

751 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