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
- I'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.
4 Replies
- Lorenzo KimBronze ContributorMr Pieterse thank you for your reply, when inadvertently the ALT key is pressed some characters appear on top and it is quite bothersome.
- JKPieterseSilver Contributor
You cannot repurpose the alt key using OnKey. Why would you want to disable Alt?
- Lorenzo KimBronze ContributorMr Pieterse,
thank you for your reply,
when inadvertently the ALT key is pressed some characters appear on top and it is quite bothersome.- JKPieterseSilver 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.