ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   cancel query refresh - vb (https://www.excelbanter.com/excel-programming/273762-cancel-query-refresh-vbulletin.html)

paddy

cancel query refresh - vb
 
I have a macro that automatically opens a spreadsheet and
runs a background query, then on completion of the query,
the macro closes the spreadsheet and excel application.

I want to know how to cancel the refreshing of the query
if the query hangs or after a specified time - say 30
secs.

Any help gratefully accepted.

Regards
Paddy


All times are GMT +1. The time now is 05:29 PM.

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