troubleshooting Question

Opening Excel 5.0/95 Workbook files in Visual Basic 6.0 I get an error "External Table is not in the expected format"

Avatar of AndrewBanfer
AndrewBanfer asked on
Visual Basic Classic
3 Comments1 Solution280 ViewsLast Modified:
When opening an Excel 5.0/95 Workbook in Visual Basic 6.0 I get an error "External table is not in expected format".  This happens when I attempt to open the file through a Data connection on a Form.

I set the Connect = "Excel 5.0;" or "Excel 8.0;" or "Excel 4.0" or "Excel 3.0"
Database = "C:\MWWSSB\New Instruments\Dionex_IC\SCREEN MAY 5, 2008.SEQ\10.XLS"
Recordsource = "Sheet1$"

None of the Connects work.  Is there a way I can do this in the code or a different connect string to open the file without an error?

10.XLS
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros