Hi!
I'm using excels pivot table function to grab data from my MS access db through ODBC connection.
I've set up the connections with parameters for my selection criteria or the "where" clause if you read the SQL statement. The parameters I use refer to cell values on in my workbook.
My problem is that the parameters are empty every time I reopen the workbook. This creates several problems. If I attempt to refresh the connection Excel crashes. If I attempt to save the workbook excel will crash.
So I have to manually re-input the parameters for each connection I have in the workbook. The parameters function and the ability to use cell values as the parameters is great and opens up for great possibilities. But it seems it's not working?
I even opened the xml file in the .xlsx container and found where the information for the parameters reference is stored. And it was present the connections.xml as:
<parameter name="From YYYYMM" sqlType="4" parameterType="cell" cell="Admin!$C$5" />
Which tells me there is nothing wrong with my saved xlsx file.
Is there any way around the problem?
Regards, Erik