Chris Hood
2005-08-30 05:53:02 UTC
Ok i have read every post in in the newsgroups and i am still lost. I have
this code in my global template in word.
It does not function at all. I do not see it run anything at all. If i set
it 5 minutes ahead and site and wait it does nothing. If i change it to code
2 listed below. It runs at the correct time but then also runs every time
word is opened once that time has passed.
Can someone test this code and tell me if it is just me or is it word that
is brooken.
Code 1
Sub AutoExec()
Application.OnTime TimeValue("19:36:00"),"KSG.Module1.Testing1"
End Sub
Sub Testing1()
msgbox ("Nothing Open")
End Sub
Code 2
Sub AutoExec()
Application.OnTime "19:36:00", "KSG.Module1.Testing1"
End Sub
Sub Testing1()
msgbox ("Nothing Open")
End Sub
this code in my global template in word.
It does not function at all. I do not see it run anything at all. If i set
it 5 minutes ahead and site and wait it does nothing. If i change it to code
2 listed below. It runs at the correct time but then also runs every time
word is opened once that time has passed.
Can someone test this code and tell me if it is just me or is it word that
is brooken.
Code 1
Sub AutoExec()
Application.OnTime TimeValue("19:36:00"),"KSG.Module1.Testing1"
End Sub
Sub Testing1()
msgbox ("Nothing Open")
End Sub
Code 2
Sub AutoExec()
Application.OnTime "19:36:00", "KSG.Module1.Testing1"
End Sub
Sub Testing1()
msgbox ("Nothing Open")
End Sub
--
Beyond Help And Reason
Beyond Help And Reason