Thread: ontime method?
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Oliver Ferns via OfficeKB.com Oliver Ferns via OfficeKB.com is offline
external usenet poster
 
Posts: 15
Default ontime method?

Yes. Application.OnTime would do this for you provided the file is open...

Sub Runmeat7()

Application.OnTime timevalue("07:00:00"), "MyMacro"

End Sub

Sub MyMacro()
me.range("C1").value = Me.Range.("a1").value
End Sub


Hth,
Oli

--
Message posted via http://www.officekb.com