Problem with Auto_Open function

S

suketus

Hi, I am receiving real time information from a trending database ever
5 minutes. I tried writing the Auto_Open macro to refresh the dat
every 5 minutes and update the chart. But it doesnt work. It refreshe
the data if i manually hit F9, but does not work on its own. Heres th
code i used.

Sub Auto_Open()
Application.OnTime Now + TimeValue("00:05:00"), "Auto_Open"
Calculate
End Sub

Can somebody please help!
 

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