Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
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! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
When I open a workbook, cell protection is not fully active | Excel Worksheet Functions | |||
Why does a new Excel Workbook open with IV1 as the active cell? | Excel Discussion (Misc queries) | |||
Consolidation of data from cell in active sheet of closed workbook | Excel Worksheet Functions | |||
I want to copy the active workbook name to a cell... | Excel Discussion (Misc queries) | |||
Active Cell when opening workbook | Excel Worksheet Functions |