ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   query after refresh question (https://www.excelbanter.com/excel-programming/396232-query-after-refresh-question.html)

Gary Keramidas

query after refresh question
 
inherited a workbook that runs a query when the date in cell B2 is changed. the
query was set up manually, no code.

i tried a QueryTable_AfterRefresh on the sheet the query exists, but it didn't
fire.

is there a way to tell when the query is finished?


--


Gary




Tom Ogilvy

query after refresh question
 
did you instantiate the event?

http://support.microsoft.com/default...b;en-us;182735
XL97: How to Use the Query Before and AfterRefresh Events

--
Regards,
Tom Ogilvy



"Gary Keramidas" wrote:

inherited a workbook that runs a query when the date in cell B2 is changed. the
query was set up manually, no code.

i tried a QueryTable_AfterRefresh on the sheet the query exists, but it didn't
fire.

is there a way to tell when the query is finished?


--


Gary





Gary Keramidas

query after refresh question
 
no, i didn't. i'll see if i can make it work now.

thanks

--


Gary


"Tom Ogilvy" wrote in message
...
did you instantiate the event?

http://support.microsoft.com/default...b;en-us;182735
XL97: How to Use the Query Before and AfterRefresh Events

--
Regards,
Tom Ogilvy



"Gary Keramidas" wrote:

inherited a workbook that runs a query when the date in cell B2 is changed.
the
query was set up manually, no code.

i tried a QueryTable_AfterRefresh on the sheet the query exists, but it
didn't
fire.

is there a way to tell when the query is finished?


--


Gary








All times are GMT +1. The time now is 12:00 AM.

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