Forum Discussion
Lorenzo Kim
Jun 12, 2018Bronze Contributor
VBA for deactivating just the ALT key
Application.OnKey "{F1}", "" the above deactivates F1 key, what is the vba for deactivating just the ALT key? many thanks
- Jun 13, 2018I'm afraid not much can be done about this, it is an important part of the user interface of Office which helps you find out about the short-cut keys to work with the ribbon.
JKPieterse
Jun 13, 2018Silver Contributor
You cannot repurpose the alt key using OnKey. Why would you want to disable Alt?
- Lorenzo KimJun 13, 2018Bronze ContributorMr Pieterse,
thank you for your reply,
when inadvertently the ALT key is pressed some characters appear on top and it is quite bothersome.- JKPieterseJun 13, 2018Silver ContributorI'm afraid not much can be done about this, it is an important part of the user interface of Office which helps you find out about the short-cut keys to work with the ribbon.