Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7018275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:01:33+00:00 2026-05-27T23:01:33+00:00

I have a module that imports an Access table to MS Office Excel. This

  • 0

I have a module that imports an Access table to MS Office Excel.
This module has been implemented for almost 6 months and has worked well, but suddenly yesterday the module started giving an error message “External table is not in expected format”

I’ve searched the answer through this site and found that for Excel 2007 I must use syntax “Excel 12.0” not “Excel 8.0”. I changed my script and got a new error message:
“Could not find installable ISAM”
(code below)

Others information:
I try to open the excel file created and got warning message:

“The file you are trying to open, ‘bppdan.xls’, is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?”

So… I decided to modify the code (shown below) and I’m not getting the error message “External table is not in expected format” nor “Could not find installable ISAM”
I really want to know what cause that two error message

I really need your help


(In VB 6 Application)
In menu: Project -> References, I checked the option "Microsoft Excel 12.0 Object Library"

This code generate “External table is not in expected format”


    Dim dbDest As Database

    FName = ExcelApp.GetSaveAsFilename(, "Excel (*.xls),*.xls", , "Save to Excel")
    If FName = False Then Exit Sub
    Set dbDest = OpenDatabase(FName, False, False, "Excel 8.0;HDR=NO;")

This code generate “Could not find installable ISAM”


    Dim dbDest As Database

    FName = ExcelApp.GetSaveAsFilename(, "Excel (*.xls),*.xls", , "Save to Excel")
    If FName = False Then Exit Sub
    Set dbDest = OpenDatabase(FName, False, False, "Excel 12.0;HDR=NO;")

I’ve modified the code:


    Dim dbDest As Database

    FName = ExcelApp.GetSaveAsFilename(, "Excel (*.xls),*.xls", , "Save to Excel")
    If FName = False Then Exit Sub
    Set dbDest = OpenDatabase("C:\Users\administrator\Desktop\my.xls", False, False, "Excel 8.0;HDR=NO;")
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:01:34+00:00Added an answer on May 27, 2026 at 11:01 pm

    Finally, our senior developer has the solution (yippie!)
    This is what she does:

    1. She modified the code for preparing the worksheet, she add file format
      So the code changes from


    Set ExcelWkb = ExcelApp.Workbooks.Add
    ExcelWkb.SaveAs FName

    becomes

    Set ExcelWkb = ExcelApp.Workbooks.Add
    ExcelWkb.SaveAs FName, xlExcel5

    1. She modified the code for connecting
      So the code changes from


    Set dbDest = OpenDatabase(FName, False, False, "Excel 8.0;HDR=NO;")

    becomes


    Set dbDest = OpenDatabase(FName, False, False, "Excel 5.0;")

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I have a Python module implemented as a directory (i.e. package) that has
I have a python module that imports a module generated with swig. When I
Let's say that I have a module that has a Queue in it. For
I want to have a function in a different module, that when called, has
I have a custom QT plugin module that has embedded resources. I want to
Suppose that for administrative reasons I do not have write access to module xxx.
I have a Python script that uses built-in modules but also imports a number
I have module that implements custom content type via NodeAPI hooks ( hook_insert ,
I have a module that sends an email to a specified email address but
I have a module that reads the StandardError of a process. Everything works fine,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.