My thoughts are many and varied
1. You didn't mention a userform before. OnKey does not affect userforms.
2. Why would you want to disable the tab key?
3. Set the TabStop to false for all controls on the form or use the KeyUp event for every control.