Change the action of TAB Key

  • Thread starter Thread starter Janie
  • Start date Start date
J

Janie

I know how to control the movement of the ENTER key, but what about the TAB
key? I want to compel the TAB key to always move DOWN. Suggestions?
 
Janie said:
I know how to control the movement of the ENTER key, but what about the TAB
key?  I want to compel the TAB key to always move DOWN.  Suggestions?

Application.OnKey "{TAB}", "xxx"

where xxx is whatever moves the cursor down, not sure about that bit.

Phil Hibbs.
 
"XXX" would be the name of the sub that hitting the key calls
so

Sub StartKey()
Application.OnKey "{TAB}", "setMovement"
End Sub
Sub setMovement()
Selection.Offset(1).Select
End Sub
 
"XXX" would be the name of the sub that hitting the key calls

I thought there might be one already.

Phil Hibbs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top