.Net Add-in needs to catch cell edits prior to committing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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.
 
There are better ways in native code (or using P/Invoke, but YMMV).

Best regards,

Jens.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top