I need to have my macro executed every 10 minutes .
This allows it to work in 10 minutes
sub my_Procedure () msgbox \"hello world\" end sub sub t
You should use this pattern:
Sub my_Procedure() MsgBox "hello world" Call test ' for starting timer again End Sub Sub test() Application.OnTime Now + TimeValue("00:10:00"), "my_Procedure" End Sub