Is it possible to have a pivot table with neither a data table behind it or an Excel data connection....but instead update the pivotcache using an SQL statement run on the remote database, setting the pivotcache to the recordset like so:
The code above works fine until I remove the Excel data connection. I don't want a connection in the workbook, I don't want users to be able to refresh themselves, I just want to be able to update the pivotcache when the automated script runs.Please Login or Register to view this content.
However, Excel won't let me. Pivot tables just whinge as soon as they don't have a permanent data source. Why? If I'm using a disconnected recordset as the data source....why do I need to have a permanent connection in Excel to the actual data source?
Bookmarks