How to redirct F1 to bring my Help

  • Thread starter Thread starter Ben
  • Start date Start date
B

Ben

Hi,
How can I redirect F1, when the user press F1 0n an
active worksheet I can display my Help.
I trayed to changed the Help file name in the VBAProject
properties but when I press F1 the help of excel is
displayed.

Thank you.
 
Hi

One way;

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

Sub myHelp()
MsgBox "You broke it, you fix it."
End Sub

HTH. Best wishes Harald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top