Open in the explorer

Disable shortcut keys

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Microsoft Excel 2016 › Disable Items in User Interface › Predefined
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
excel16.admx
Internal name
excel16/L_Disableshortcutkeys

Explanation

This policy setting allows you to disable specific shortcut key combinations in the specified applications.

If you enable this policy setting you can disable specific shortcut keys for the selected application. The predefined list of shortcut keys you can disable becomes available to you when you enable this policy setting.

If you disable or do not configure this policy setting, the predefined list of shortcut keys are enabled for the application.

Registry

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\disabledshortcutkeyscheckboxes
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: excel16/L_Disableshortcutkeys
$k = 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledshortcutkeyscheckboxes'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Ctrl+F (Home | Editing | Find & Select | Find)
# unchecked: 0
Set-ItemProperty -Path $k -Name 'find' -Value '70,8' -Type String
# Ctrl+K (Insert | Links | Hyperlink)
# unchecked: 0
Set-ItemProperty -Path $k -Name 'inserthyperlink' -Value '75,8' -Type String
# Alt+F8 (Developer | Code | Macros)
# unchecked: 0
Set-ItemProperty -Path $k -Name 'toolsmacromacros' -Value '119,16' -Type String
# Alt+F11 (Developer | Code | Visual Basic)
# unchecked: 0
Set-ItemProperty -Path $k -Name 'toolsmacrovbe' -Value '122,16' -Type String

Disable

# Disable: excel16/L_Disableshortcutkeys
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": excel16/L_Disableshortcutkeys
$k = 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledshortcutkeyscheckboxes'
Remove-ItemProperty -Path $k -Name 'find' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'inserthyperlink' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'toolsmacromacros' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'toolsmacrovbe' -ErrorAction SilentlyContinue

Options (4)

LabelControlRegistry valueREG typeConstraints / details
Ctrl+F (Home | Editing | Find & Select | Find)L_CtrlFHomeEditingFindCheck boxbooleanfindREG_SZ
Checked: REG_SZ = 70,8
Unchecked: REG_SZ = 0
Ctrl+K (Insert | Links | Hyperlink)L_CtrlKInsertLinksHyperlinksCheck boxbooleaninserthyperlinkREG_SZ
Checked: REG_SZ = 75,8
Unchecked: REG_SZ = 0
Alt+F8 (Developer | Code | Macros)L_AltF8ToolsMacroMacrosCheck boxbooleantoolsmacromacrosREG_SZ
Checked: REG_SZ = 119,16
Unchecked: REG_SZ = 0
Alt+F11 (Developer | Code | Visual Basic)L_AltLVDeveloperCodeVisualBasicCheck boxbooleantoolsmacrovbeREG_SZ
Checked: REG_SZ = 122,16
Unchecked: REG_SZ = 0

Application

Microsoft 365 Apps / Office (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.