Application.Tasks contains 16 tasks for 1 instance of Excel

  • Thread starter Angelos Petropoulos
  • Start date
A

Angelos Petropoulos

Hi,

We are using the property Application.Tasks in Word 2003 to try and find
all the open instances of Excel, so we can display them as a list for the
user to pick from when importing tables and charts. When the user selects
one of the instances, we use Task.Activate() to give focus to the open Excel
window.

This works fine, except in the case of one system (IBM T43 Thinkpad, WinXP
SP2, Word 2003 SP1), where for one instance of Excel open, there are 16 tasks
reported by Word.

Any suggestions or comments would be appreciated.


Regards,

Angelos Petropoulos
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top