A Allen Browne Mar 23, 2006 #2 You can disable the Esc key for any form by setting the form's KeyPreview property to Yes, and using the KeyDown event of the form to destroy the keystroke: If KeyCode = vbKeyEscape Then KeyCode = 0
You can disable the Esc key for any form by setting the form's KeyPreview property to Yes, and using the KeyDown event of the form to destroy the keystroke: If KeyCode = vbKeyEscape Then KeyCode = 0