Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Lena
 
Posts: n/a
Default Changing the shortcut key for Help (F1)?

I pretty often hit F1 accidently instead of F2 when I want to edit the data
in a cell. I want to change the Help key (F1) to something different, so I
won't have this problem anymore, but I can't find a way. Could it be that it
is impossible to change the function keys?
  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

Hi Lena,
I personally like having F1 and SHIFT+F1

I would not recommend trying the following at home (or at work)
as it will disable the F1 key.

The following would go into ThisWorkbook

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

As far as the CAPS Lock goes physical removal (on non laptops)
works best. For laptop a bit of poster putty under left side of key
works for awhile..
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm


"Lena" wrote in message ...
I pretty often hit F1 accidently instead of F2 when I want to edit the data
in a cell. I want to change the Help key (F1) to something different, so I
won't have this problem anymore, but I can't find a way. Could it be that it
is impossible to change the function keys?



  #3   Report Post  
David McRitchie
 
Posts: n/a
Default

and to restore use of the F1 key use this line of code:
Application.OnKey "{F1}"


  #4   Report Post  
Lena
 
Posts: n/a
Default

OK, so there's no way to just change the shortcut?

"David McRitchie" skrev:

and to restore use of the F1 key use this line of code:
Application.OnKey "{F1}"



  #5   Report Post  
David McRitchie
 
Posts: n/a
Default

Hi Lena,
Application.OnKey "{F1}", ""
changed the use of the F1 key by removing it.
By the way you can enter the above in the Intermediate Window in the VBE.

If you would like to run a macro instead see this posting by Dave Peterson


---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages:
http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Lena" wrote in message ...
OK, so there's no way to just change the shortcut?

"David McRitchie" skrev:

and to restore use of the F1 key use this line of code:
Application.OnKey "{F1}"





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
Shortcut to format painter judith Excel Discussion (Misc queries) 2 January 17th 05 04:53 PM
Shortcut file fails to open JimH Excel Discussion (Misc queries) 3 January 15th 05 10:13 PM
Macro Shortcut Keys Nicolle K. Excel Discussion (Misc queries) 1 January 6th 05 04:55 PM
How to make [toggling] shortcut keys to superscript and subscript, respectively? Mann Lee Excel Discussion (Misc queries) 8 December 13th 04 01:50 PM
Changing color in color palette Dave Peterson Setting up and Configuration of Excel 0 December 12th 04 02:39 PM


All times are GMT +1. The time now is 05:57 PM.

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"