You need Edanmo's task scheduler.
Have a look at this website:
http://www.mvps.org/emorcillo/en/code/vb6/index.shtml
Go to: Using the Task Scheduler
This is a
VB dll file that makes all the properties and methods of the task
scheduler available in VBA. I am using this and it works very well.
RBS
"Gary's Student" wrote in message
...
I can activate taskmgr from a macro by
SHELL("c:\windows\system32\taskmgr.exe")
How can I access the displayed process information, i.e. process name and
PID, or get taskmgr to copy this information to a text file?
--
Gary's Student