cell value indeterminate while editing

A

Andy

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 ?
 

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

Top