Excel Interop: Help with suppressing Excel window to open

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Swys
    New Member
    • Mar 2009
    • 5

    Excel Interop: Help with suppressing Excel window to open

    Hi there, I am currently trying to write myself a wrapper class for the Excel interop services. I had a problem on closing the process, but just decided to kill it in the end.

    My current problem, however, is that if the user has an Excel instance open before running my application, the Excel file that the application opens is displayed in a new Excel window, even if I set the visible property to false. This only happens if an Excel window is already open. If there are no Excel windows open prior to running my application, everything is done in the background, as it should be even though there are Excel windows open.

    Can anyone please help me with this, since it is really causing some headaches for me?

    Thanks in advance!
Working...