I am using excel 2007. I have an excel file that is the source for multiple Microsoft queries. This file is saved in .xlsx format.
Using Excel's feature (Data>From Other Sources>From Microsoft Query) I set up a DataSource connection (i.e. the dsn file) pointing to this excel source and specified the Microsoft Excel Driver (*.xls,*.xlsx,*.xlsm,*.xlsb). I then set up my query (i.e. the dqy file) using this data source.
My problem is this: the source file needs to be password protected. I set up a password on the source excel file (after the dsn and query files were created) BUT the query failed with this message: "ODBC Excel Driver Logon Failed>External table is not in the expected format." I had hoped the query would have prompted me for the password (to open the source file) before executing but it did not.
I then tried to set up the DataSource connection with the password already established on the source file. Excel would not let me create the dsn file on a password protected file (I got an error message of: "ODBC Excel Driver Logon Failed>External table is not in the expected format.")
Is there any way to run Microsoft Queries on a password protected excel 2007 source file? Please advise. Thanks.
Using Excel's feature (Data>From Other Sources>From Microsoft Query) I set up a DataSource connection (i.e. the dsn file) pointing to this excel source and specified the Microsoft Excel Driver (*.xls,*.xlsx,*.xlsm,*.xlsb). I then set up my query (i.e. the dqy file) using this data source.
My problem is this: the source file needs to be password protected. I set up a password on the source excel file (after the dsn and query files were created) BUT the query failed with this message: "ODBC Excel Driver Logon Failed>External table is not in the expected format." I had hoped the query would have prompted me for the password (to open the source file) before executing but it did not.
I then tried to set up the DataSource connection with the password already established on the source file. Excel would not let me create the dsn file on a password protected file (I got an error message of: "ODBC Excel Driver Logon Failed>External table is not in the expected format.")
Is there any way to run Microsoft Queries on a password protected excel 2007 source file? Please advise. Thanks.