Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Read Keyboard Buffer ?

I have an application in which a cell is selected. I trap this with a
worksheet selection change event. Within the macro I need to take separate
actions if the cell was selected with the arrow keys or a mouse click.

Is there any way to determine how I got there!

Thanks in Advace for help help or clue.
--
Gary's Student
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 113
Default Read Keyboard Buffer ?

Hi,

There's no different between selecting cell with mouse
and with arrow key up/down.

Let me guess that you want to know that the mouse over
cells.

Use GetCursorPos API calls...


Regards,

Halim


Gary''s Student menuliskan:
I have an application in which a cell is selected. I trap this with a
worksheet selection change event. Within the macro I need to take separate
actions if the cell was selected with the arrow keys or a mouse click.

Is there any way to determine how I got there!

Thanks in Advace for help help or clue.
--
Gary's Student


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Read Keyboard Buffer ?

To the best of my knowledge, Excel does not natively expose such a
different.
But you additionally have the other means of "arriving" at a cell:
- Goto
- Hyperlink
- Code
- Undo
- From the Name box
Why is necessary to determine how the user arrived there ?

NickHK

"Gary''s Student" wrote in message
...
I have an application in which a cell is selected. I trap this with a
worksheet selection change event. Within the macro I need to take

separate
actions if the cell was selected with the arrow keys or a mouse click.

Is there any way to determine how I got there!

Thanks in Advace for help help or clue.
--
Gary's Student



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can buffer the row height of my data. RSB Excel Discussion (Misc queries) 1 April 15th 08 11:35 PM
Clearing the keyboard buffer [email protected] Excel Discussion (Misc queries) 0 February 22nd 07 11:18 AM
Reading txt file into the buffer WannaBeExceller Excel Programming 2 February 8th 06 11:21 PM
buffer overflow Jeff Sward Excel Programming 0 January 7th 04 07:46 PM
Emptying the copy buffer justin Excel Programming 1 October 27th 03 03:03 PM


All times are GMT +1. The time now is 11:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"