Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Murtaza
 
Posts: n/a
Default Can I configure Excel for not to respond on "F1" key press

I want Excel to not show the Help on F1 press, as I dont need Help that
often. But also I dont want to remove the Help support at all.


  #2   Report Post  
Harald Staff
 
Posts: n/a
Default

Hi

A small macro can fix that:

Sub DisableHelp()
Application.OnKey "{F1}", ThisWorkbook.Name & "!Dummy"
End Sub

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

Sub Dummy()
MsgBox "You are paid to know this stuff", vbInformation
End Sub

Help menu will work as always.

HTH. best wishes Harald

"Murtaza" <NoEmail@NoEmail skrev i melding
...
I want Excel to not show the Help on F1 press, as I dont need Help that
often. But also I dont want to remove the Help support at all.




  #3   Report Post  
Jim May
 
Posts: n/a
Default

In what type Module do these 3 procedures go?


"Harald Staff" wrote in message
...
Hi

A small macro can fix that:

Sub DisableHelp()
Application.OnKey "{F1}", ThisWorkbook.Name & "!Dummy"
End Sub

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

Sub Dummy()
MsgBox "You are paid to know this stuff", vbInformation
End Sub

Help menu will work as always.

HTH. best wishes Harald

"Murtaza" <NoEmail@NoEmail skrev i melding
...
I want Excel to not show the Help on F1 press, as I dont need Help that
often. But also I dont want to remove the Help support at all.






  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

I'd put them in a General module.

Another way to stop the F1 key (without any notice to the user at all):

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

Jim May wrote:

In what type Module do these 3 procedures go?

"Harald Staff" wrote in message
...
Hi

A small macro can fix that:

Sub DisableHelp()
Application.OnKey "{F1}", ThisWorkbook.Name & "!Dummy"
End Sub

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

Sub Dummy()
MsgBox "You are paid to know this stuff", vbInformation
End Sub

Help menu will work as always.

HTH. best wishes Harald

"Murtaza" <NoEmail@NoEmail skrev i melding
...
I want Excel to not show the Help on F1 press, as I dont need Help that
often. But also I dont want to remove the Help support at all.





--

Dave Peterson
  #5   Report Post  
Jim May
 
Posts: n/a
Default

Yeah,
I had it there expecting it to run without "running-it"
Added DisableHelp() to Workbook.Open;
Everything is now ROSEY, tks,
Jim

"Dave Peterson" wrote in message
...
I'd put them in a General module.

Another way to stop the F1 key (without any notice to the user at all):

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

Jim May wrote:

In what type Module do these 3 procedures go?

"Harald Staff" wrote in message
...
Hi

A small macro can fix that:

Sub DisableHelp()
Application.OnKey "{F1}", ThisWorkbook.Name & "!Dummy"
End Sub

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

Sub Dummy()
MsgBox "You are paid to know this stuff", vbInformation
End Sub

Help menu will work as always.

HTH. best wishes Harald

"Murtaza" <NoEmail@NoEmail skrev i melding
...
I want Excel to not show the Help on F1 press, as I dont need Help

that
often. But also I dont want to remove the Help support at all.





--

Dave Peterson





  #6   Report Post  
Murtaza
 
Posts: n/a
Default

Code doesn't work if we press "F1" after pressing "F2".

"Jim May" wrote in message
news:6T1ge.2865$It1.357@lakeread02...
Yeah,
I had it there expecting it to run without "running-it"
Added DisableHelp() to Workbook.Open;
Everything is now ROSEY, tks,
Jim

"Dave Peterson" wrote in message
...
I'd put them in a General module.

Another way to stop the F1 key (without any notice to the user at all):

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

Jim May wrote:

In what type Module do these 3 procedures go?

"Harald Staff" wrote in message
...
Hi

A small macro can fix that:

Sub DisableHelp()
Application.OnKey "{F1}", ThisWorkbook.Name & "!Dummy"
End Sub

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

Sub Dummy()
MsgBox "You are paid to know this stuff", vbInformation
End Sub

Help menu will work as always.

HTH. best wishes Harald

"Murtaza" <NoEmail@NoEmail skrev i melding
...
I want Excel to not show the Help on F1 press, as I dont need Help

that
often. But also I dont want to remove the Help support at all.





--

Dave Peterson





  #7   Report Post  
Dave Peterson
 
Posts: n/a
Default

If you're in the middle of editing a cell, then macros (well, any meaningful
macros) don't execute.

I don't think you can stop this behavior--(Break the F1 key on your keyboard may
work for you, though <vbg.)



Murtaza wrote:

Code doesn't work if we press "F1" after pressing "F2".

"Jim May" wrote in message
news:6T1ge.2865$It1.357@lakeread02...
Yeah,
I had it there expecting it to run without "running-it"
Added DisableHelp() to Workbook.Open;
Everything is now ROSEY, tks,
Jim

"Dave Peterson" wrote in message
...
I'd put them in a General module.

Another way to stop the F1 key (without any notice to the user at all):

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

Jim May wrote:

In what type Module do these 3 procedures go?

"Harald Staff" wrote in message
...
Hi

A small macro can fix that:

Sub DisableHelp()
Application.OnKey "{F1}", ThisWorkbook.Name & "!Dummy"
End Sub

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

Sub Dummy()
MsgBox "You are paid to know this stuff", vbInformation
End Sub

Help menu will work as always.

HTH. best wishes Harald

"Murtaza" <NoEmail@NoEmail skrev i melding
...
I want Excel to not show the Help on F1 press, as I dont need Help

that
often. But also I dont want to remove the Help support at all.





--

Dave Peterson




--

Dave Peterson
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Stop Excel Rounding Dates leinad512 Excel Discussion (Misc queries) 1 April 20th 05 04:19 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
I get a program error when I download an excel template Ladybug Excel Discussion (Misc queries) 3 March 4th 05 12:02 AM
how to automatically configure excel data in all worksheets of a . Er Singh SD Excel Discussion (Misc queries) 1 January 8th 05 08:26 PM


All times are GMT +1. The time now is 01:00 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"