Custom Search

Thursday, May 29, 2014

Getting running applications names from task manager

Set Word = CreateObject("Word.Application")
Set Tasks = Word.Tasks
For Each Task in Tasks
   If Task.Visible Then msgbox Task.Name
Next
Word.Quit

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.