Share via

Trouble using Microsoft Query to extract data from an .xlsm file

Anonymous
2012-03-19T21:52:29+00:00

When I try to use Excel's Data | Get External Data | From Other Sources and select "Excel Files*" to query data from an Excel .xlsm file, I receive the error message, "Unrecognized database format" 

Perhaps I'm missing an install or an update or maybe we can not use Microsoft Query to extract data from a .xlsm file?

Any help regarding this problem would be appreciated.

Thanks.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2012-03-20T13:39:05+00:00

    I've tried that; unfortunately the .xlsm uses hundreds of formulas that reference a table named: FTE_Tbl

    Example:

         =SUMIFS(FTE_Tbl[Accum_FTEs],FTE_Tbl[Subdivision],I2)

    After saving it as an Excel 1997-20013 .xls file, the formula becomes:

         =SUMIFS(FTEs!$N$6:$N$2739,FTEs!$B$6:$B$2739,I2)

    IE., it loses the table reference, which changes as the table grows or shrinks, and becomes an absolute reference ... not an acceptable solution.

    Is there a way to query an Excel 2010 .xlsm file?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2012-03-19T23:23:02+00:00

    Hi,

    Save the file in Excel 1997-2003 format and see if it works.

    Was this answer helpful?

    0 comments No comments