Change the action of TAB Key

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?
 
P

Phil Hibbs

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.
 
P

Patrick Molloy

"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
 
P

Phil Hibbs

"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

Top