View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
RB Smissaert RB Smissaert is offline
external usenet poster
 
Posts: 2,452
Default Taskmgr from VBA

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