i have a macro that executes a query for a report. once the report appears on the screen, i execute a 2nd macro to scrape the data.
i combined the 2 macros but it is failing because the data from the report takes anywhere from 30 seconds to 5 minutes, sometimes even 10 minutes to appear on the screen.
how can i have the macro pause while the data is being retrieved and then continue once it appears on the screen?
i've tried the following to no avail:
Do While Sess0.screen.OIA.Xstatus <> 0
Do Events
Loop
thanks
vzach
i combined the 2 macros but it is failing because the data from the report takes anywhere from 30 seconds to 5 minutes, sometimes even 10 minutes to appear on the screen.
how can i have the macro pause while the data is being retrieved and then continue once it appears on the screen?
i've tried the following to no avail:
Do While Sess0.screen.OIA.Xstatus <> 0
Do Events
Loop
thanks
vzach