ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Auto Refreshing - values (https://www.excelbanter.com/excel-programming/318251-re-auto-refreshing-values.html)

Matt Lawson[_4_]

Auto Refreshing - values
 
Can this procedure be run in the background so that it does not bog down the
system?

Thanks



"Matt Lawson" wrote:

I am using a web query to retreive data from a webpage.

This data needs to be constantly updated, and there is an option for this.

However, the filename changes every hour.

I can generate a filename based on the current time (using the =NOW()
command).

I recorded a macro setting up the web query and found I could make it part
of a macro also (that is, input the filename as a variable.)

However, the real problem I just discovered is as such:


How do I refresh the =now() statement every 5 minutes or so, that way the
correct file names can be generated?

Any ideas?

Thanks

Matt Lawson


Thanks,

Matt Lawson


Frank Kabel

Auto Refreshing - values
 
Hi
this is what OnTime would do

--
Regards
Frank Kabel
Frankfurt, Germany

"Matt Lawson" schrieb im
Newsbeitrag ...
Can this procedure be run in the background so that it does not bog

down the
system?

Thanks



"Matt Lawson" wrote:

I am using a web query to retreive data from a webpage.

This data needs to be constantly updated, and there is an option

for this.

However, the filename changes every hour.

I can generate a filename based on the current time (using the

=NOW()
command).

I recorded a macro setting up the web query and found I could make

it part
of a macro also (that is, input the filename as a variable.)

However, the real problem I just discovered is as such:


How do I refresh the =now() statement every 5 minutes or so, that

way the
correct file names can be generated?

Any ideas?

Thanks

Matt Lawson


Thanks,

Matt Lawson




All times are GMT +1. The time now is 04:51 AM.

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