![]() |
How do I get cursor position and text being typed?
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 |
How do I get cursor position and text being typed?
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 "Kallepalle" wrote in message om... 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 |
How do I get cursor position and text being typed?
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... *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
All times are GMT +1. The time now is 06:52 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com