I'm looking for a way to create an Excel spreadsheet that is linked to an Access query, but in a way that automatically updates the Excel spreadsheet as the data in Access changes, so that whenever the Excel spreadsheet is loaded it contains the latest data. Is there a way to do this?
BACKGROUND:
I've combined 7 crosstab queries into a single query based on a somewhat long SQL statement with 6 UNIONs. (Don't laugh, it actually runs very fast and is preferable to nesting the queries...but I digress)
The query (11 row x 14 columns in datasheet view) is the basis for a more complex Excel spreadsheet analyzing the data. Lets call this the ReportSpreadsheet
What I want to do is link the query into an Excel spreadsheet in a way that the spreadsheet is updated as the Access data changes.
I've tried using "Analyze w/Excel..." to put the Access query into an Excel spreadsheet (call it qrySomething) and then linking cells in ReportSpreadsheet to cells in the qrySomething spreadsheet. That way the qrySomething spreadsheet can be updated from Access (again using Analyze in Excel...) without trashing the ReportSpreadsheet. This necessitates the extra step of going into Access and re-creating the qrySomething spreadsheet. It works but I'd like the process to be more automatic, so that the ReportSpreadsheet always contains the latest data from Access. Can this be done?
Data flow is [AccessQuery]->[ExcelQuerySpreadsheet]->[ExcelReportSpreadsheet]
Thanks,
Shin
BACKGROUND:
I've combined 7 crosstab queries into a single query based on a somewhat long SQL statement with 6 UNIONs. (Don't laugh, it actually runs very fast and is preferable to nesting the queries...but I digress)
The query (11 row x 14 columns in datasheet view) is the basis for a more complex Excel spreadsheet analyzing the data. Lets call this the ReportSpreadsheet
What I want to do is link the query into an Excel spreadsheet in a way that the spreadsheet is updated as the Access data changes.
I've tried using "Analyze w/Excel..." to put the Access query into an Excel spreadsheet (call it qrySomething) and then linking cells in ReportSpreadsheet to cells in the qrySomething spreadsheet. That way the qrySomething spreadsheet can be updated from Access (again using Analyze in Excel...) without trashing the ReportSpreadsheet. This necessitates the extra step of going into Access and re-creating the qrySomething spreadsheet. It works but I'd like the process to be more automatic, so that the ReportSpreadsheet always contains the latest data from Access. Can this be done?
Data flow is [AccessQuery]->[ExcelQuerySpreadsheet]->[ExcelReportSpreadsheet]
Thanks,
Shin