Logo 
Search:

MS Office Forum

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds

How to test what key was pressed?

  Asked By: Vivek    Date: Nov 19    Category: MS Office    Views: 579
  

In Excel vba, how do I test what key a user just pressed? In VBA,
how do I examine what key users just pressed?How do I do the following code of
if portion?

If PGDN-key-is pressed then .......

If PGUP-key-is pressed then .......

If LEFT-key-is pressed then .......

If RIGHT-key-is pressed then .......

If UP-key-is pressed then .......

If DOWN-key-is pressed then .......

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on How to test what key was pressed? Or get search suggestion and latest updates.




Tagged: