ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Refresh Ms Query Every 30 seconds (https://www.excelbanter.com/excel-programming/396871-refresh-ms-query-every-30-seconds.html)

Steven Taylor

Refresh Ms Query Every 30 seconds
 
Hi All,



I would appreciate some help with the following.



I have an excel workbook within which I have a MS query

linked to an excel database. The name of the query is

TM1.



I need some VBA code to refresh this MS query every

30 seconds while the workbook is open.



All comments and suggestions are welcome.



Thanks,



Steve



Alex-Russia

Refresh Ms Query Every 30 seconds
 
OnTime

"Steven Taylor" wrote:
I need some VBA code to refresh this MS query every

30 seconds while the workbook is open.




All times are GMT +1. The time now is 07:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com