Hi,

I set onkey in a worksheet.activate procedure;

application.onkey "{F2}", "Edit_Cell"

The onkey is removed under the worksheet.deactivate.

The procedure "Edit_Cell" is in the same workbook and works correctly. (Allows a user to edit a cell in a protected sheet, without losing the contents)

When the users presses 'F2' in the worksheet, excel tries to re-open the workbook and doesnt just call the procedure.

Is there any reason excel would attempt to find the procedure in another copy of the same workbook?