cancel query refresh - vb

P

paddy

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top