How do I get cursor position and text being typed?

  • Thread starter Thread starter Kallepalle
  • Start date Start date
K

Kallepalle

Hi,

How do I retrieve the current text being entered in a cell and the
cursor position. NB: I am /not/ looking for the contents of the
current cell - I am looking for the text in teh edit box where
contents of a cell are displayed for editing and/or input.

Sincerely,
Anders S. Johansen
 
Anders,

VBA doesn't execute when you are in Edit Mode, so there is no way
to do this.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
Oh, it doesn't have to be from VBA. We are talking from an external
program, written in C++. It could be through OLE/COM, Windows messages,
MSAA...
 
Back
Top