I need to access Excel worksheet collection from another thread, but whenever I try something like this:

Code Snippet

foreach (Excel.Worksheet ws in Application.Worksheets)

the function exits without any exception. Can someone help me please

Re: Visual Studio Tools for Office Excel worksheet

Cindy Meister

You need to provide more information about the type of application, the version of Office and what, exactly, you're trying to do.

Office does not support multiple threads...