Any automation calls gets hung when the Excel workbook has an active cell.
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! |
Any automation calls gets hung when the Excel workbook has an active cell.
Can you show your C++ automation code?
Angus "S.Tremblay" wrote in message ... 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! |
All times are GMT +1. The time now is 03:37 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com