Jun 12, 2001 #1 ii128 Programmer May 18, 2001 129 US How can I run a function periodically in a visual basic form without open and run the form?
Jun 12, 2001 #2 ratman Technical User Jun 26, 2000 143 US Sub DoSomethingWhenToldTo() Application.OnTime earliesttime:=TimeValue("23:58:00", procedure:="macronamegoeshere" End Sub then possibly in your macro turn off events? Application.EnableEvents=False I never tried it. Upvote 0 Downvote
Sub DoSomethingWhenToldTo() Application.OnTime earliesttime:=TimeValue("23:58:00", procedure:="macronamegoeshere" End Sub then possibly in your macro turn off events? Application.EnableEvents=False I never tried it.
Jun 13, 2001 #3 IonelBurtan Programmer May 25, 2001 601 RO You can use a Timer Object. Put it on your form and treat the timer event. s-) Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees... http://home.domaindlx.com/ionelb Upvote 0 Downvote
You can use a Timer Object. Put it on your form and treat the timer event. s-) Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees... http://home.domaindlx.com/ionelb