![]() |
Retrieving text being typed and cursor position using VBA or automation, how?
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 the edit box where contents of a cell are displayed for editing and/or input. The reason I need this is that I am developing a typing aid for dyslexics, and would like to support Excel. Apparently Excel does not use the standard edit controls for this, as the usual windows messages for edit/richedit controls do not seem to work. Sincerely, Anders S. Johansen |
Retrieving text being typed and cursor position using VBA or automation, how?
VBA can't execute code while Excel is 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 the edit box where contents of a cell are displayed for editing and/or input. The reason I need this is that I am developing a typing aid for dyslexics, and would like to support Excel. Apparently Excel does not use the standard edit controls for this, as the usual windows messages for edit/richedit controls do not seem to work. Sincerely, Anders S. Johansen |
All times are GMT +1. The time now is 12:35 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com