try using Application.OnTime method http://www.ozgrid.com/Excel/run-macro-on-time.htm http://www.cpearson.com/excel/OnTime.aspx
On Mon, May 9, 2011 at 1:17 PM, Anil Bhange < anil.bha...@tatacommunications.com> wrote: > Hi All, > > > > I am having one database which is link to the external data (Internet)… I > need the VBA code where the data will automatically refresh after 30 seconds > / 15 Seconds, but it should not be a loop it just a macro automatically > running after 15 sec. > > > > *Example : My data is refreshed at 11:44:15 time and I wanted macro to be > automatically run at 11:45:30 and again after 11:45:45 then 11:50:00 and so > on…* > > > > Please suggest something. > > > > I am having one problem using loop here because while macro is running in > background I can’t able to work on other files and I wanted that macro to be > run at background and I should able to run on the files. > > > > Is there any way to do it.. > > > > Thanks & Regards, > > > > Anil Bhange > > IP - 512320 > > > -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel