Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default .Net Automation Add-In - Execution Always Ends in Edit Mode

I have written a C# Automation Add-In for Excel. Everything is working as
desired with one exception. I have a doubleclick handler that brings up a
form to edit the formula in that cell. However, when the form is closed
(either because the user made a change and clicked OK, or clicked Cancel)
Excel always enters edit-mode on that cell. I have to programatically then
select the neighboring cell and then reselect the current cell so that it
appears to the user to not have entered edit mode. It was my understanding
that the "ref bool bCancel" param on the doubleclick handler was to address
this issue but whether I set bCancel to true or false, I cannot avoid this
problem. Help?
thanks!



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
.Net Automation Add-In - Execution Always Ends in Edit Mode Matthew Wieder[_3_] Excel Programming 1 October 16th 06 11:12 AM
Combo Box goes to edit mode even if design mode is in OFF position Chas Excel Discussion (Misc queries) 0 January 7th 05 07:21 PM
Edit Mode Nicke[_8_] Excel Programming 0 October 15th 04 12:49 PM
Edit points, how to show that view at the end of a macro execution Lars-Åke Aspelin Excel Programming 3 July 10th 04 07:45 PM
MsgBox execution sends program into design mode Jenn Excel Programming 2 April 14th 04 10:21 PM


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