Failed to connect to Excel to get data from __.xlsx
Posted: Tue Oct 19, 2021 10:55 pm
I receive a strange error in trying to retrieve date from an Excel spreadsheet. The error messages are,
ERROR: Failed to connect to Excel to get data from ___.xlsx.
ERROR: Unable to get data values for {variable name}.
ERROR: Failed to make live links to data - aborting simulation.
ERROR: Unable to correctly load in exogenous values - aborting.
The strange thing is that the error occurs only in one model. If I create a different, very simple model and use the same GET XLS DATA call, the model imports the necessary data without any errors. The function call is,
GET XLS DATA( '?{file pointer}' , 'sheet name', 'A' , 'D2' ). (In my case, the file pointer is '?ALI Municipal'.)
Any idea why the model cannot read the data? Calls to the same spreadsheet through GET XLS CONSTANTS work fine. The sheet name in question is the first of three sheets in the file. GET XLS CONSTANTS calls refer to a different sheet in the Excel file.
I am using Vensim version DSS 9.0.0.
ERROR: Failed to connect to Excel to get data from ___.xlsx.
ERROR: Unable to get data values for {variable name}.
ERROR: Failed to make live links to data - aborting simulation.
ERROR: Unable to correctly load in exogenous values - aborting.
The strange thing is that the error occurs only in one model. If I create a different, very simple model and use the same GET XLS DATA call, the model imports the necessary data without any errors. The function call is,
GET XLS DATA( '?{file pointer}' , 'sheet name', 'A' , 'D2' ). (In my case, the file pointer is '?ALI Municipal'.)
Any idea why the model cannot read the data? Calls to the same spreadsheet through GET XLS CONSTANTS work fine. The sheet name in question is the first of three sheets in the file. GET XLS CONSTANTS calls refer to a different sheet in the Excel file.
I am using Vensim version DSS 9.0.0.