I'm guessing from your message title you want F1 to open Form1, F2 to open Form2, etc. You can't do this very well with code, because Access' use of those keys takes precedence to a KeyDown, KeyUp, or KeyPress event. However, you can use an AutoKeys macro group to grab them before Access has the chance. Look up AutoKeys in the Help file.
One warning: When choosing keys, consider whether you can really afford to lose the normal Access functions. For example, if you "steal" F1, the user can't get help that way any more. Rick Sprague