Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default cell value in edit mode with COM addin


I am using IDTExtensibility2 with VB6 to produce a COM
addin for Excel 2002 (so no VBA code inside Excel). I add
a button dynamically in my VB6 code

e.g. Private WithEvents cmdMyButton_ As
Office.CommandBarButton

The problem when a user is editing a cell & clicks on a
CommandBarButton, there is no way of getting the TRUE cell
value (ws.Cells(row,col).text), only the previously stored
one. e.g. if the user changes the cell value from 30 to 50
and stays in edit mode, ws.Cells(row,col).text will give
30 !

Also, any way of determining the event between the user
leaving the cell "edit mode" and clicking the button ?

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
Disable cell reference insertion with PageUp in cell edit mode. Greta Excel Discussion (Misc queries) 0 May 21st 08 03:54 PM
Excel 2007-starts in cell edit mode dalec Excel Discussion (Misc queries) 0 August 1st 07 11:14 PM
Is it possible to arrow to a different cell while in edit mode? Latka2k Excel Discussion (Misc queries) 1 December 9th 05 09:51 PM
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
Detecting Cell Edit Mode Marc[_15_] Excel Programming 1 December 3rd 03 11:09 PM


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