ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   using loop in ontime (https://www.excelbanter.com/excel-programming/417209-using-loop-ontime.html)

Subodh

using loop in ontime
 
I want to use the onaction property in loop
like using it with a variable
for i = 1 to 100
ontime(00:00:i)
someprocedure
next i

Bob Phillips[_3_]

using loop in ontime
 
Do you mean

Application.Ontime Now+Timeserial(0,0,i),"some procedure"

--
__________________________________
HTH

Bob

"Subodh" wrote in message
...
I want to use the onaction property in loop
like using it with a variable
for i = 1 to 100
ontime(00:00:i)
someprocedure
next i





All times are GMT +1. The time now is 01:50 PM.

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