![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 1
|
I have a protected worksheet. To get around in the worksheet I need to use the tab key. The people that use the spread sheet always hit the "enter" key, which drop down one cell. I would like to change the "enter" key response to "tab" on open. It must be through ascii but I cannot figure it out. I sure can use your help.
|
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
Quote:
HTH |
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Helena, MT
Posts: 13,690
|
Say the fields they enter in are $A$1 $C$1 $E$1 $A$4 $B$6 in that order. This code will move the selection to the next fieldwhen Enter is keyed
Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address=(“$A$1”) Then Range(“$C$1”).Select If Target.Address=("$C$1”) Then Range(“$E$1”).Select etc. End Sub |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
If you must change it then lookup online
help for OnKey....you can change the enter key to Tab using code. |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|