Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
AddOleObject() fails if a key is pressed
I am developing an AddIn in C# 2.0 using Visual Studio 2005 for Excel
2002. The addin adds a number of OLE objects to the form in a loop. The problem is that if I press any key when the loop is executing, the AddOLEObject() method fails and throws a COM exception. I tried disabling Events, Calculation etc but could not get a way to disable input in the cell. Is there any way I can disable the keyboard while the loop is being executed. If I use Interactive = False, ESC key processing is also disabled and I need it to interrupt the processing. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to intercept each pressed key | Excel Programming | |||
How do I determine what key was pressed | Excel Programming | |||
What key was pressed? | Excel Programming | |||
Was Delete Key pressed? | Excel Programming | |||
AddOLEObject | Excel Programming |