I want to disable the command Ctrl + A (select all) in Access 2007. Is that possible?
|
feedback
|
|
You can use this code in Access to catch CTRL+A and ignore it. The downside is you will have to add this to every form you wish to block. (the upside: you don't have to block every form)
Add this to the IMPORTANT: Scroll to the bottom of the Event list and change | |||||
feedback
|
In the Autohotkey automation language. Alternatively:
| |||||||||||
feedback
|
|
Create a macro called AutoKeys. In the first column, type ^A, and in the second, choose Beep from the dropdown. This will cause a Beep anytime ^A is pressed anywhere in your app. If you want to do absolutely nothing (i.e., no BEEP), you'll have to write a function to call that does nothing and call that with the RunCode action. If you want to allow it in some contexts and not in others, you'd have to write more complicated code for that. I'm not entirely sure what that code would look like as it raises a number of interesting problems. And, of course, that's a StackOverflow question... (frankly I think this whole question belonged over there all along, since the answers require either writing coding or creating something code-like, i.e., a macro) | |||
|
feedback
|
|
I don't think so. That key combination is the same in most packages (not just MS ones) and is defined at a fairly basic level. Of course this is where someone else comes in and proved me wrong | |||
|
feedback
|