Hi again,
See if the attached version of your workbook does what you need. I've highlighted the changes/additions I made to your code:
Switching to another workbook re-enables all of the features disabled by the above code, and returning to this workbook disables them once again.
If you need to really "tie the User's hands" I think you'll need to check the various other keyboard shortcuts which exist, and disable them also. For example, using Ctrl with the plus/minus keys allows the User to insert/delete a row.
Hope this helps - as before, please let me know how you get on.
Regards,
Greg M
Bookmarks