ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Problem with Auto_Open function (https://www.excelbanter.com/excel-programming/365949-problem-auto_open-function.html)

suketus[_2_]

Problem with Auto_Open function
 

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!

--
suketu
-----------------------------------------------------------------------
suketus's Profile: http://www.excelforum.com/member.php...fo&userid=3594
View this thread: http://www.excelforum.com/showthread.php?threadid=55730



All times are GMT +1. The time now is 11:23 AM.

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