-
Timer
I need a loop that checks top of every
Hour that states:
If appactive = "Microsoft Word" Then
End If
Else
Shell "C:\Program Files\Microsoft Office\Office\WINWORD.EXE"
But appactivate doesn’t check if the app is running?
SO I need How to set the loop to check every hour and
how to check if Word is already open?
-
check the time every minute to see if the minute = "00" or "0". I'm not sure about how to check if it's running. maybe an API could do this?!
-
You can simply use a timer to check every hour; I believe there's even an API that can do this for you.
As for the Word check app, you can use the FindWindow window. Here's info on how to use it: http://www.vbforums.com/showthread.p...hreadid=233589