I have extracted a load of data from tables within an Access database using ODBC through Excel. I have extracted probably 245 columns by about 400 rows worth of data. this total is made up from several individual extracts.
The data in the Access database continually updates.
The only way I can refresh the data in Excel is to do a DATA->REFRESH DATA, which is a kind of pain in the rear because the cursor has to be placed on the individual data extracts before the data can be refreshed.
Is there a way to automatically update these data extracts when you open the spreadsheet file?
Alternatively, not being a VBA guru, I am happy to set up a macro to allow the several different data extracts to be refreshed through a button. (I have tried recording a macro, but the process includes cursor movements, which don't get recorded, so after the first data extract is refreshed, the subsequent extracts don't get refreshed).
Any advice from anyone on how I can achieve this? Should the data get refreshed automatically anyway on a file open?
(Note that I have checked Microsoft's kb and I cannot find anything to suggest that this is not possible, or should not happen anyway).
The data in the Access database continually updates.
The only way I can refresh the data in Excel is to do a DATA->REFRESH DATA, which is a kind of pain in the rear because the cursor has to be placed on the individual data extracts before the data can be refreshed.
Is there a way to automatically update these data extracts when you open the spreadsheet file?
Alternatively, not being a VBA guru, I am happy to set up a macro to allow the several different data extracts to be refreshed through a button. (I have tried recording a macro, but the process includes cursor movements, which don't get recorded, so after the first data extract is refreshed, the subsequent extracts don't get refreshed).
Any advice from anyone on how I can achieve this? Should the data get refreshed automatically anyway on a file open?
(Note that I have checked Microsoft's kb and I cannot find anything to suggest that this is not possible, or should not happen anyway).