ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to have a module to repeat itself at a certain time interval? (https://www.excelbanter.com/excel-programming/295020-how-have-module-repeat-itself-certain-time-interval.html)

Radionise

how to have a module to repeat itself at a certain time interval?
 
hi all,
im quite new to VBA.
i have done this one module to generate email to several recipients
when some process parameter(s) are operating abnormally.

but i dont really know how to get this module to auto repeat itself
after let say an interval of 5 minutes.

kindly help...

thank you.

Frank Kabel

how to have a module to repeat itself at a certain time interval?
 
Hi
maybe the OnTime method is what you're looking for for running a macro
periodically. chip has some instructions on his site how so set-up such
a macro:
http://www.cpearson.com/excel/ontime.htm

--
Regards
Frank Kabel
Frankfurt, Germany


Radionise wrote:
hi all,
im quite new to VBA.
i have done this one module to generate email to several recipients
when some process parameter(s) are operating abnormally.

but i dont really know how to get this module to auto repeat itself
after let say an interval of 5 minutes.

kindly help...

thank you.



Rob van Gelder[_4_]

how to have a module to repeat itself at a certain time interval?
 
I have an example on my website

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Radionise" wrote in message
om...
hi all,
im quite new to VBA.
i have done this one module to generate email to several recipients
when some process parameter(s) are operating abnormally.

but i dont really know how to get this module to auto repeat itself
after let say an interval of 5 minutes.

kindly help...

thank you.





All times are GMT +1. The time now is 01:51 AM.

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