Any automation calls gets hung when the Excel workbook has an active cell.

S

S.Tremblay

I have a C++ application that uses MS Excel XP (2002)
through automation. Any call to either the
Excel::Application or my Excel::Workbook hangs whenever a
cell is activated (in edition) in the workbook. It does
the same thing if it's the edit box in the formula bar
that has the focus in Excel. I get the standard dead-
lock OLE dialog from which I can use the Switch to...
button then click on an other cell of the worksheet which
kills the focus on the previous cell or formula edit-box.
Then Excel starts getting responsive (to automation
calls) again. Anybody as a clue to prevent that to happen
since no automation call can get through? It is somewhat
equivalent to "VB Hangs While Automating Excel Using OLE
Control" but I'm neither using VB nor an OLE Control!
 

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