Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default .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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default .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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default .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
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
How do I return to prior cell? NYC18 Excel Discussion (Misc queries) 2 December 11th 09 05:55 AM
Save value of cell prior to change Rick Excel Worksheet Functions 2 September 25th 09 06:22 PM
How do I make text in a cell flash on / off (to catch attention)? flashit Excel Discussion (Misc queries) 2 July 27th 09 07:48 PM
Cell borders with formula edits Katie Excel Discussion (Misc queries) 0 June 5th 06 02:34 PM
how to catch the second or more cell with vlookup Valley Excel Worksheet Functions 8 April 24th 06 12:02 AM


All times are GMT +1. The time now is 04:56 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"