Open your form in design view. In the Form's property list find the "Key Preview" property. Change this property to "Yes" (without the quotes), the default for this property is "No".
Now got to the "On Key Down" event of the form place the following code:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 27 Then ' 27 is the Escape Key
KeyCode = 0
End If
End Sub
HTH
RDH
[This message has been edited by R. Hicks (edited 11-12-2001).]