Hi,
Is there a graceway way to disable all shortcut keys for Excel? I already followed the FAQ faq707-4841 to disable all toolbars. However, I want to prevent users from using keyboard shortcuts. I am writing an application with an embedded Excel.Application object and want to restrict users interaction to only controls I have created. The FAQ suggested the use of Application.OnKey method but that requires manually setting the string to "^B", "^C", and etc. Is there a way to have VBA return a list of all available shortcut keys and loop through the list? If not, what string do I use to represent "Ctrl + Shirt + F1" or something? Thanks!!
~ninjamyst
Is there a graceway way to disable all shortcut keys for Excel? I already followed the FAQ faq707-4841 to disable all toolbars. However, I want to prevent users from using keyboard shortcuts. I am writing an application with an embedded Excel.Application object and want to restrict users interaction to only controls I have created. The FAQ suggested the use of Application.OnKey method but that requires manually setting the string to "^B", "^C", and etc. Is there a way to have VBA return a list of all available shortcut keys and loop through the list? If not, what string do I use to represent "Ctrl + Shirt + F1" or something? Thanks!!
~ninjamyst