View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Getting text under mouse cursor

Hi
you could use the Selection_change event to get the current selection
and the content of the selected cell. See:
http://www.cpearson.com/excel/events.htm

--
Regards
Frank Kabel
Frankfurt, Germany


Kallepalle wrote:
Hi,

I am currently developing a screen reader program, which is designed
for those less fortunate souls who have problems reading. I would

like
tu support Excel, and am therefore searching for a way to retrieve
the text in the cell which the mouse cursor is currently pointing to.
I would use MSAA, but apparently Excel widgets are not MSAA aware :(

Can anyone help me out? Automation solution prefered, but VBA will do
in a pinch...

Sincerely,
Anders S. Johansen