Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
.Net Add-in needs to catch cell edits prior to committing
I have a .net addin which adds it's own command bar. I
want to catch when a cell is mid-edit and prevent my menus from running until the edit is commited or cancelled. But I can't see a way to do this from the excel object model. Is this possible? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
.Net Add-in needs to catch cell edits prior to committing
To catch if the user is mid-edit - I'm setting
application.interactive=false and catching if there is com interop error; but surely theres a better way to verify cell editing. -----Original Message----- I have a .net addin which adds it's own command bar. I want to catch when a cell is mid-edit and prevent my menus from running until the edit is commited or cancelled. But I can't see a way to do this from the excel object model. Is this possible? . |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
.Net Add-in needs to catch cell edits prior to committing
There are better ways in native code (or using P/Invoke, but YMMV).
Best regards, Jens. -- http://ManagedXLL.net/ Replace MSDN with my first name when replying to my email address! "Allan" wrote in message ... To catch if the user is mid-edit - I'm setting application.interactive=false and catching if there is com interop error; but surely theres a better way to verify cell editing. -----Original Message----- I have a .net addin which adds it's own command bar. I want to catch when a cell is mid-edit and prevent my menus from running until the edit is commited or cancelled. But I can't see a way to do this from the excel object model. Is this possible? . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I return to prior cell? | Excel Discussion (Misc queries) | |||
Save value of cell prior to change | Excel Worksheet Functions | |||
How do I make text in a cell flash on / off (to catch attention)? | Excel Discussion (Misc queries) | |||
Cell borders with formula edits | Excel Discussion (Misc queries) | |||
how to catch the second or more cell with vlookup | Excel Worksheet Functions |