Keeping Excel Automation Hidden

N

Nig

I have some C++ code that creates a hidden instance of Excel and interogates
a given XLS file.
This works OK - BUT - I would like to keep Excel hidden as the worksheet
contains secure cost data.

The problem occurs when a user double clicks any other XLS file within
Windows explorer whilst my hidden Excel is active - this opens up in my
hidden version of Excel and makes it (and my cost data) visible. Is there
any way to prohibit this behavior of Excel?

At the moment I have resorted to closing Excel after every calculation but
this is less than ideal as I get a huge performance hit and it is still
possible (though less likely) for the worksheet to become visible!

Thanks in advance for any help.
 

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