I have a form that I wish the user to close by pressing F12. I've set Key Preview to Yes and in the on Key Down event proceedure I've used a select case statement against vbKeyF12 set to Docmd.Quit. However I keep getting the MS default for F12 of a Save As dialog box appearing which them stops the form from closing. Does anyone have a suggestion how to disable to MS default functions but still enable the use of the F Keys. I know that you can set the keycode to 0 but that stops any further use of that key.