View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Janie Janie is offline
external usenet poster
 
Posts: 48
Default List Applications That Are Running


No, that is not going to help me as my routine later does something depending
on which applications are running. I must have something that is grounded in
VBA.

I have everything else in my module working fine -- I just need some way of
looping through the application names.

Anybody else got a good idea?


"arjen van..." wrote:

I'm not sure about VBA, but this is relatively simply using the Windows
Command Prompt (or command line as it's called).
Use the tasklist command (just type the word tasklist after the prompt) and
all running processes should be listed.
Default format is a table, but you can use
tasklist /fo list or
tasklist /fo csv