Move selection after Enter direction: registry value moveenterdirUserHKCU\software\policies\microsoft\office\16.0\excel\options

Policy ID
L_MoveselectionafterEnterdirection
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Excel 2016 › Excel Options › Advanced

Registry

moveenterdir

REG_DWORDUser
Enabled value
Depends on the option value
Element
Move selection after Enter direction
Options
ItemStored value
Down0
Right1
Up2
Left3
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\options]

; Options (use only one)
; Down
"moveenterdir"=dword:00000000
; Right
"moveenterdir"=dword:00000001
; Up
"moveenterdir"=dword:00000002
; Left
"moveenterdir"=dword:00000003
CMD
:: Options (use only one)

:: Down
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "moveenterdir" /t REG_DWORD /d 0 /f
:: Right
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "moveenterdir" /t REG_DWORD /d 1 /f
:: Up
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "moveenterdir" /t REG_DWORD /d 2 /f
:: Left
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "moveenterdir" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null

# Options (use only one)
# Down
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'moveenterdir' -PropertyType DWord -Value 0 -Force | Out-Null
# Right
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'moveenterdir' -PropertyType DWord -Value 1 -Force | Out-Null
# Up
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'moveenterdir' -PropertyType DWord -Value 2 -Force | Out-Null
# Left
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'moveenterdir' -PropertyType DWord -Value 3 -Force | Out-Null