Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default I keep hitting F1 by mistake

....probably because it's close to F2

It's annoying because I don't want the help screen to appear and it takes
ages to load. I know the obvious solution is to stop pressing F1, but that's
just too simple, so I was wondering if there was a way to disable the F1 key?

Thanks

Rob
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default I keep hitting F1 by mistake

You have to use VB to reassign keys. Run the first sub to "fix" F1 and the
second to put it back if you want.

Sub KillHelp()
Application.OnKey "{F1}", ""
End Sub

Sub RestoreHelp()
Application.OnKey "{F1}"
End Sub


--
Jim
"Rob" wrote in message
...
| ...probably because it's close to F2
|
| It's annoying because I don't want the help screen to appear and it takes
| ages to load. I know the obvious solution is to stop pressing F1, but
that's
| just too simple, so I was wondering if there was a way to disable the F1
key?
|
| Thanks
|
| Rob


  #3   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default I keep hitting F1 by mistake

Thank you Jim.

I also just found on a google group, a suggestion from Chip Pearson to
physically remove the F1 key - which I thought was an excelent idea.
Unfortunatly it's not my keyboard so that might be frowned upon.

The OnKey method gets me half way, but I'm often already editing a cell when
I press F2. I don't think the OnKey method will work in this situation. Any
ideas?

Thanks
Rob




"Jim Rech" wrote:

You have to use VB to reassign keys. Run the first sub to "fix" F1 and the
second to put it back if you want.

Sub KillHelp()
Application.OnKey "{F1}", ""
End Sub

Sub RestoreHelp()
Application.OnKey "{F1}"
End Sub


--
Jim
"Rob" wrote in message
...
| ...probably because it's close to F2
|
| It's annoying because I don't want the help screen to appear and it takes
| ages to load. I know the obvious solution is to stop pressing F1, but
that's
| just too simple, so I was wondering if there was a way to disable the F1
key?
|
| Thanks
|
| Rob



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default I keep hitting F1 by mistake

Chip Pearson says that he actually "fixed" his keyboard by taking that key off.
Others say that they left the key, but removed the spring underneath.

But you could use a couple of macros (one to disable and one to enable):

Option Explicit
Sub disableF1()
Application.OnKey "{f1}", ""
End Sub

This would toggle it back to normal.

Sub enableF1()
Application.OnKey "{f1}"
End Sub

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Rob wrote:

...probably because it's close to F2

It's annoying because I don't want the help screen to appear and it takes
ages to load. I know the obvious solution is to stop pressing F1, but that's
just too simple, so I was wondering if there was a way to disable the F1 key?

Thanks

Rob


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default I keep hitting F1 by mistake

didn't try it, but check this and see if it will work

http://www.microsoft.com/downloads/d...DisplayLang=en

--


Gary


"Rob" wrote in message
...
...probably because it's close to F2

It's annoying because I don't want the help screen to appear and it takes
ages to load. I know the obvious solution is to stop pressing F1, but
that's
just too simple, so I was wondering if there was a way to disable the F1
key?

Thanks

Rob





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
numbers appear different after hitting enter cb New Users to Excel 3 March 27th 08 10:46 PM
where is the mistake? xavi garriga Excel Discussion (Misc queries) 8 September 24th 07 12:06 PM
If I get the help box up by hitting F1 by mistake, how can I get . Last1Standin Excel Discussion (Misc queries) 1 February 17th 05 08:56 PM
i sent by mistake fish Excel Programming 1 February 11th 05 05:59 PM
Insert new row after hitting enter Jeff[_23_] Excel Programming 2 October 15th 03 10:14 PM


All times are GMT +1. The time now is 07:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"