Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Using F1 in custom menu

Discussion in 'Information Technology' started by VBAgroupie, Oct 27, 2005.

Tags:
  1. VBAgroupie

    VBAgroupie
    Expand Collapse
    Guest

    Hi. I have "Help" as a Menu option in my custom menus; as most applications
    do. How do I associate F1 in the menu to bring up my custom help files; it
    still brings up the MS help. I have it working on the forms but not in the
    custom menu. Any suggestions?
    --
    Thanks for the help!
     
  2. Loading...


  3. Dennis

    Dennis
    Expand Collapse
    Guest

    You need to create a macro called AutoKeys
    The name is important, it must be called AutoKeys.
    Inside this macro, have 1 line with {F1} as the macro name and then
    RunCode as the action. Create your own function called something like
    Open_Help() and use this function name in your macro.
    Create this function in a module and open up your own help file.

    "VBAgroupie" wrote:

    > Hi. I have "Help" as a Menu option in my custom menus; as most applications
    > do. How do I associate F1 in the menu to bring up my custom help files; it
    > still brings up the MS help. I have it working on the forms but not in the
    > custom menu. Any suggestions?
    > --
    > Thanks for the help!
     
  4. VBAgroupie

    VBAgroupie
    Expand Collapse
    Guest

    Thank you Dennis. I will give this a try.

    Natalie
    --
    Thanks for the help!


    "Dennis" wrote:

    > You need to create a macro called AutoKeys
    > The name is important, it must be called AutoKeys.
    > Inside this macro, have 1 line with {F1} as the macro name and then
    > RunCode as the action. Create your own function called something like
    > Open_Help() and use this function name in your macro.
    > Create this function in a module and open up your own help file.
    >
    > "VBAgroupie" wrote:
    >
    > > Hi. I have "Help" as a Menu option in my custom menus; as most applications
    > > do. How do I associate F1 in the menu to bring up my custom help files; it
    > > still brings up the MS help. I have it working on the forms but not in the
    > > custom menu. Any suggestions?
    > > --
    > > Thanks for the help!
     

Share This Page