Always hitting F1 when I mean to hit F2

xenou

MrExcel MVP
Joined
Mar 2, 2007
Messages
16,836
Office Version
  1. 2019
Platform
  1. Windows
F2 is a useful key (puts a cell in edit mode). But I sometimes hit F1 by mistake and Excel help pops up.

So a little fix I find helpful is this one:
Code:
[COLOR="Navy"]Private[/COLOR] [COLOR="Navy"]Sub[/COLOR] Workbook_Open()
[COLOR="SeaGreen"]'//I'm always hitting F1 when I want F2[/COLOR]
    Application.OnKey "{F1}", ""
[COLOR="Navy"]End[/COLOR] [COLOR="Navy"]Sub[/COLOR]

Just put this in the open event of a workbook that will start up each session (like Personal.xls in your xlStart folder, or an addin that you always use).

Keep Excelling,
ξ
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
LOL

It's known that some people who tend to use Excel heavily, seriously heavily and are only keyboard oriented instead of using the mouse,
take out the F1 key completely... It's a waste of precious time.
 
Upvote 0
I taught myself a new keyboard shortcut every week when I was first learning Excel. I think most tasks I perform frequently I keyboard, including a half dozen or so custom keyboard shortuts. Then I add a lot of quick access shortcuts, customize my right click menu, and the ribbon stays minimized 99% of the time. :)
 
Upvote 0

Forum statistics

Threads
1,223,730
Messages
6,174,169
Members
452,548
Latest member
Enice Anaelle

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top