Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
When I open a workbook, cell protection is not fully active Dave_B_at C&W Excel Worksheet Functions 0 February 4th 09 10:42 AM
Why does a new Excel Workbook open with IV1 as the active cell? pjwing Excel Discussion (Misc queries) 1 July 3rd 07 11:26 PM
Consolidation of data from cell in active sheet of closed workbook Neil X Peel Excel Worksheet Functions 3 March 8th 07 02:35 PM
I want to copy the active workbook name to a cell... trumb1mj Excel Discussion (Misc queries) 2 May 30th 06 06:30 PM
Active Cell when opening workbook mwclark0807 Excel Worksheet Functions 3 January 5th 06 04:38 AM


All times are GMT +1. The time now is 06:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"